home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Bus / T-Z / Teleprint 1.0.cpt / TelePrint Express™ 1.0
MacBinary  |  1992-01-28  |  940.9 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: TelePrint Express™ 1.0

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PCP archive log (other/pcpArchiveLog) ext Unsupported
100% file MacBinary II, inited, busy, Tue Jan 28 13:00:00 1992, modified Tue Jan 28 13:00:00 1992, creator HyperCard, type HyperCard stack, 466464 bytes "TelePrint Express� 1.0" , at 0x71ea0 496643 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
50% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 16 54 65 6c 65 50 72 | 69 6e 74 20 45 78 70 72 |..TelePr|int Expr|
|00000010| 65 73 73 aa 20 31 2e 30 | 00 00 00 00 00 00 00 00 |ess. 1.0|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 07 1e 20 00 | 07 94 03 a5 ab 4a a0 a5 |...... .|.....J..|
|00000060| ab 4a a0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.J......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8d 90 00 00 |........|........|
|00000080| 00 00 6c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..l.STAK|........|
|00000090| 00 00 00 0a 00 07 1e 20 | 00 00 6c 00 00 00 00 01 |....... |..l.....|
|000000a0| 00 00 00 03 00 00 00 12 | 00 00 11 e4 00 00 00 c3 |........|........|
|000000b0| 00 00 2d d2 00 00 9e e1 | 00 00 00 00 00 00 00 00 |..-.....|........|
|000000c0| 00 00 6e 5b a4 57 d5 b9 | 00 05 00 00 10 00 00 00 |..n[.W..|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |."......|........|
|000000f0| 82 3e 9b c8 00 00 00 04 | 00 45 00 40 01 9b 02 40 |.>......|.E.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 82 d8 00 00 81 81 | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 00 55 2b 55 2b 55 2b 7f | aa 55 aa 55 aa 55 aa 55 |.U+U+U+.|.U.U.U.U|
|000003f0| 2b 55 2b 55 2b 55 2b 55 | 2b 56 ac 59 b2 65 ca 95 |+U+U+U+U|+V.Y.e..|
|00000400| 0f 1e 3c 78 3c 1e 0f 87 | 14 49 22 94 49 94 22 49 |..<x<...|.I".I."I|
|00000410| 22 04 8c 74 22 17 98 10 | 7f 00 7f 7f 69 75 69 61 |"..t"...|....iuia|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 00 7f 40 5f 50 57 54 55 | aa 56 fe 00 aa 65 ef 00 |..@_PWTU|.V...e..|
|00000440| 00 aa 55 aa 55 aa 55 ff | bf a0 be aa fa 0a fb 82 |..U.U.U.|........|
|00000450| 3a 42 9a a2 ae 08 f9 03 | ff 80 80 80 ff 08 08 08 |:B......|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 69 64 6c 65 0d | 67 6c 6f 62 61 6c 20 6f |on idle.|global o|
|00000690| 76 65 72 64 6f 67 0d 69 | 66 20 6f 76 65 72 64 6f |verdog.i|f overdo|
|000006a0| 67 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |g is emp|ty then.|
|000006b0| 6d 79 73 74 61 72 74 75 | 70 0d 65 6c 73 65 20 69 |mystartu|p.else i|
|000006c0| 66 20 6e 6f 74 20 6f 76 | 65 72 64 6f 67 20 74 68 |f not ov|erdog th|
|000006d0| 65 6e 0d 68 69 64 65 20 | 6d 65 6e 75 62 61 72 0d |en.hide |menubar.|
|000006e0| 68 69 64 65 20 76 61 72 | 69 61 62 6c 65 20 77 61 |hide var|iable wa|
|000006f0| 74 63 68 65 72 0d 68 69 | 64 65 20 6d 65 73 73 61 |tcher.hi|de messa|
|00000700| 67 65 20 77 61 74 63 68 | 65 72 0d 65 6e 64 20 69 |ge watch|er.end i|
|00000710| 66 0d 65 6e 64 20 69 64 | 6c 65 0d 6f 6e 20 64 6f |f.end id|le.on do|
|00000720| 4d 65 6e 75 20 77 68 61 | 74 0d 67 65 74 20 22 59 |Menu wha|t.get "Y|
|00000730| 65 73 22 0d 69 66 20 74 | 68 65 20 6e 75 6d 62 65 |es".if t|he numbe|
|00000740| 72 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 69 |r of thi|s card i|
|00000750| 73 20 31 20 74 68 65 6e | 0d 70 61 73 73 20 64 6f |s 1 then|.pass do|
|00000760| 4d 65 6e 75 0d 65 6c 73 | 65 20 69 66 20 77 68 61 |Menu.els|e if wha|
|00000770| 74 20 69 73 20 22 51 75 | 69 74 20 48 79 70 65 72 |t is "Qu|it Hyper|
|00000780| 43 61 72 64 22 20 74 68 | 65 6e 0d 61 6e 73 77 65 |Card" th|en.answe|
|00000790| 72 20 22 51 75 69 74 20 | 6e 6f 77 3f 20 28 59 6f |r "Quit |now? (Yo|
|000007a0| 75 72 20 6f 72 64 65 72 | 20 77 69 6c 6c 20 62 65 |ur order| will be|
|000007b0| 20 63 61 6e 63 65 6c 6c | 65 64 29 22 20 77 69 74 | cancell|ed)" wit|
|000007c0| 68 20 22 59 65 73 22 20 | 6f 72 20 22 4e 6f 22 0d |h "Yes" |or "No".|
|000007d0| 65 6c 73 65 20 69 66 20 | 77 68 61 74 20 69 73 20 |else if |what is |
|000007e0| 22 48 6f 6d 65 22 20 74 | 68 65 6e 0d 61 6e 73 77 |"Home" t|hen.answ|
|000007f0| 65 72 20 22 47 6f 20 48 | 6f 6d 65 20 6e 6f 77 3f |er "Go H|ome now?|
|00000800| 20 28 59 6f 75 72 20 6f | 72 64 65 72 20 77 69 6c | (Your o|rder wil|
|00000810| 6c 20 62 65 20 63 61 6e | 63 65 6c 6c 65 64 29 22 |l be can|celled)"|
|00000820| 20 77 69 74 68 20 22 59 | 65 73 22 20 6f 72 20 22 | with "Y|es" or "|
|00000830| 4e 6f 22 0d 65 6e 64 20 | 69 66 0d 69 66 20 69 74 |No".end |if.if it|
|00000840| 20 69 73 20 22 4e 6f 22 | 20 74 68 65 6e 20 65 78 | is "No"| then ex|
|00000850| 69 74 20 64 6f 4d 65 6e | 75 0d 70 61 73 73 20 64 |it doMen|u.pass d|
|00000860| 6f 4d 65 6e 75 0d 65 6e | 64 20 64 6f 4d 65 6e 75 |oMenu.en|d doMenu|
|00000870| 0d 6f 6e 20 67 6f 4e 65 | 78 74 0d 76 69 73 75 61 |.on goNe|xt.visua|
|00000880| 6c 20 73 63 72 6f 6c 6c | 20 6c 65 66 74 0d 67 6f |l scroll| left.go|
|00000890| 20 4e 65 78 74 0d 65 6e | 64 20 67 6f 4e 65 78 74 | Next.en|d goNext|
|000008a0| 0d 6f 6e 20 67 6f 50 72 | 65 76 0d 76 69 73 75 61 |.on goPr|ev.visua|
|000008b0| 6c 20 73 63 72 6f 6c 6c | 20 72 69 67 68 74 0d 67 |l scroll| right.g|
|000008c0| 6f 20 70 72 65 76 0d 65 | 6e 64 20 67 6f 50 72 65 |o prev.e|nd goPre|
|000008d0| 76 0d 0d 6f 6e 20 72 65 | 74 75 72 6e 4b 65 79 0d |v..on re|turnKey.|
|000008e0| 67 6c 6f 62 61 6c 20 6f | 76 65 72 64 6f 67 0d 69 |global o|verdog.i|
|000008f0| 66 20 6f 76 65 72 64 6f | 67 20 74 68 65 6e 0d 70 |f overdo|g then.p|
|00000900| 61 73 73 20 72 65 74 75 | 72 6e 4b 65 79 0d 65 6c |ass retu|rnKey.el|
|00000910| 73 65 0d 73 65 6e 64 20 | 67 6f 4e 65 78 74 20 74 |se.send |goNext t|
|00000920| 6f 20 74 68 65 20 74 61 | 72 67 65 74 0d 65 6e 64 |o the ta|rget.end|
|00000930| 20 69 66 0d 65 6e 64 20 | 72 65 74 75 72 6e 4b 65 | if.end |returnKe|
|00000940| 79 0d 6f 6e 20 65 6e 74 | 65 72 4b 65 79 0d 69 66 |y.on ent|erKey.if|
|00000950| 20 74 68 65 20 74 61 72 | 67 65 74 20 63 6f 6e 74 | the tar|get cont|
|00000960| 61 69 6e 73 20 22 66 69 | 65 6c 64 22 20 74 68 65 |ains "fi|eld" the|
|00000970| 6e 20 73 65 6e 64 20 22 | 63 6c 6f 73 65 46 69 65 |n send "|closeFie|
|00000980| 6c 64 22 20 74 6f 20 74 | 68 65 20 74 61 72 67 65 |ld" to t|he targe|
|00000990| 74 0d 73 65 6e 64 20 67 | 6f 4e 65 78 74 20 74 6f |t.send g|oNext to|
|000009a0| 20 74 68 65 20 74 61 72 | 67 65 74 0d 65 6e 64 20 | the tar|get.end |
|000009b0| 65 6e 74 65 72 4b 65 79 | 0d 6f 6e 20 65 6e 74 65 |enterKey|.on ente|
|000009c0| 72 49 6e 46 69 65 6c 64 | 0d 73 65 6e 64 20 63 6c |rInField|.send cl|
|000009d0| 6f 73 65 46 69 65 6c 64 | 20 74 6f 20 74 68 65 20 |oseField| to the |
|000009e0| 74 61 72 67 65 74 0d 73 | 65 6e 64 20 67 6f 4e 65 |target.s|end goNe|
|000009f0| 78 74 20 74 6f 20 74 68 | 65 20 74 61 72 67 65 74 |xt to th|e target|
|00000a00| 0d 65 6e 64 20 65 6e 74 | 65 72 49 6e 46 69 65 6c |.end ent|erInFiel|
|00000a10| 64 0d 0d 6f 6e 20 6b 65 | 79 44 6f 77 6e 20 77 68 |d..on ke|yDown wh|
|00000a20| 69 63 68 0d 67 6c 6f 62 | 61 6c 20 64 65 61 64 4b |ich.glob|al deadK|
|00000a30| 65 79 73 0d 67 6c 6f 62 | 61 6c 20 76 61 6c 69 64 |eys.glob|al valid|
|00000a40| 4b 65 79 73 0d 67 6c 6f | 62 61 6c 20 6b 65 79 4d |Keys.glo|bal keyM|
|00000a50| 61 70 0d 67 6c 6f 62 61 | 6c 20 66 75 6e 4b 65 79 |ap.globa|l funKey|
|00000a60| 73 0d 67 6c 6f 62 61 6c | 20 6f 76 65 72 44 6f 67 |s.global| overDog|
|00000a70| 0d 67 6c 6f 62 61 6c 20 | 6d 61 78 43 68 61 72 73 |.global |maxChars|
|00000a80| 0d 67 6c 6f 62 61 6c 20 | 6d 61 78 4c 69 6e 65 73 |.global |maxLines|
|00000a90| 0d 0d 2d 2d 20 70 75 74 | 20 63 68 61 72 74 6f 6e |..-- put| charton|
|00000aa0| 75 6d 20 28 77 68 69 63 | 68 29 0d 69 66 20 77 68 |um (whic|h).if wh|
|00000ab0| 69 63 68 20 69 73 20 69 | 6e 20 64 65 61 64 4b 65 |ich is i|n deadKe|
|00000ac0| 79 73 20 74 68 65 6e 0d | 70 6c 61 79 20 73 74 6f |ys then.|play sto|
|00000ad0| 70 0d 70 6c 61 79 20 62 | 6f 69 6e 67 0d 65 78 69 |p.play b|oing.exi|
|00000ae0| 74 20 6b 65 79 44 6f 77 | 6e 0d 65 6e 64 20 69 66 |t keyDow|n.end if|
|00000af0| 0d 0d 69 66 20 22 66 69 | 65 6c 64 22 20 69 73 20 |..if "fi|eld" is |
|00000b00| 6e 6f 74 20 69 6e 20 74 | 68 65 20 74 61 72 67 65 |not in t|he targe|
|00000b10| 74 20 74 68 65 6e 20 70 | 61 73 73 20 6b 65 79 44 |t then p|ass keyD|
|00000b20| 6f 77 6e 0d 69 66 20 77 | 68 69 63 68 20 69 73 20 |own.if w|hich is |
|00000b30| 72 65 74 75 72 6e 20 61 | 6e 64 20 6d 61 78 4c 69 |return a|nd maxLi|
|00000b40| 6e 65 73 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |nes is n|ot empty|
|00000b50| 20 74 68 65 6e 0d 64 6f | 20 22 67 65 74 22 20 26 | then.do| "get" &|
|00000b60| 26 20 74 68 65 20 74 61 | 72 67 65 74 0d 69 66 20 |& the ta|rget.if |
|00000b70| 28 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 |(number |of lines|
|00000b80| 20 69 6e 20 69 74 20 3e | 3d 20 6d 61 78 4c 69 6e | in it >|= maxLin|
|00000b90| 65 73 29 20 6f 72 c2 0d | 28 6e 75 6d 62 65 72 20 |es) or..|(number |
|00000ba0| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 69 74 20 3e |of lines| in it >|
|00000bb0| 3d 20 6d 61 78 4c 69 6e | 65 73 2d 31 c2 0d 61 6e |= maxLin|es-1..an|
|00000bc0| 64 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 69 |d last c|har of i|
|00000bd0| 74 20 69 73 20 72 65 74 | 75 72 6e 29 20 6f 72 c2 |t is ret|urn) or.|
|00000be0| 0d 28 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 20 |.(the se|lection |
|00000bf0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 29 20 74 68 |is not e|mpty) th|
|00000c00| 65 6e 0d 69 66 20 74 68 | 65 20 61 75 74 6f 74 61 |en.if th|e autota|
|00000c10| 62 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |b of the| target |
|00000c20| 69 73 20 74 72 75 65 20 | 74 68 65 6e 0d 74 61 62 |is true |then.tab|
|00000c30| 6b 65 79 0d 65 78 69 74 | 20 6b 65 79 64 6f 77 6e |key.exit| keydown|
|00000c40| 0d 65 6c 73 65 0d 70 6c | 61 79 20 73 74 6f 70 0d |.else.pl|ay stop.|
|00000c50| 70 6c 61 79 20 62 6f 69 | 6e 67 0d 65 78 69 74 20 |play boi|ng.exit |
|00000c60| 6b 65 79 44 6f 77 6e 0d | 65 6e 64 20 69 66 0d 65 |keyDown.|end if.e|
|00000c70| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 69 66 20 |nd if.en|d if.if |
|00000c80| 77 68 69 63 68 20 69 73 | 20 69 6e 20 66 75 6e 4b |which is| in funK|
|00000c90| 65 79 73 20 74 68 65 6e | 20 70 61 73 73 20 6b 65 |eys then| pass ke|
|00000ca0| 79 44 6f 77 6e 0d 0d 69 | 66 20 6f 76 65 72 64 6f |yDown..i|f overdo|
|00000cb0| 67 20 61 6e 64 20 22 66 | 69 65 6c 64 22 20 69 73 |g and "f|ield" is|
|00000cc0| 20 6e 6f 74 20 69 6e 20 | 74 68 65 20 74 61 72 67 | not in |the targ|
|00000cd0| 65 74 20 74 68 65 6e 20 | 70 61 73 73 20 6b 65 79 |et then |pass key|
|00000ce0| 44 6f 77 6e 0d 0d 69 66 | 20 22 66 69 65 6c 64 22 |Down..if| "field"|
|00000cf0| 20 69 73 20 69 6e 20 74 | 68 65 20 74 61 72 67 65 | is in t|he targe|
|00000d00| 74 20 61 6e 64 20 6d 61 | 78 43 68 61 72 73 20 69 |t and ma|xChars i|
|00000d10| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00000d20| 0d 64 6f 20 22 67 65 74 | 22 20 26 26 20 74 68 65 |.do "get|" && the|
|00000d30| 20 73 65 6c 65 63 74 65 | 64 4c 69 6e 65 0d 69 66 | selecte|dLine.if|
|00000d40| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 73 | number |of chars|
|00000d50| 20 69 6e 20 69 74 20 3e | 3d 20 6d 61 78 43 68 61 | in it >|= maxCha|
|00000d60| 72 73 20 61 6e 64 20 74 | 68 65 20 73 65 6c 65 63 |rs and t|he selec|
|00000d70| 74 65 64 54 65 78 74 20 | 69 73 20 65 6d 70 74 79 |tedText |is empty|
|00000d80| 20 74 68 65 6e 0d 70 6c | 61 79 20 73 74 6f 70 0d | then.pl|ay stop.|
|00000d90| 70 6c 61 79 20 62 6f 69 | 6e 67 0d 65 78 69 74 20 |play boi|ng.exit |
|00000da0| 6b 65 79 44 6f 77 6e 0d | 65 6e 64 20 69 66 0d 65 |keyDown.|end if.e|
|00000db0| 6e 64 20 69 66 0d 69 66 | 20 76 61 6c 69 64 4b 65 |nd if.if| validKe|
|00000dc0| 79 73 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |ys is no|t empty |
|00000dd0| 74 68 65 6e 0d 69 66 20 | 77 68 69 63 68 20 69 73 |then.if |which is|
|00000de0| 20 6e 6f 74 20 69 6e 20 | 76 61 6c 69 64 4b 65 79 | not in |validKey|
|00000df0| 73 20 74 68 65 6e 0d 70 | 6c 61 79 20 73 74 6f 70 |s then.p|lay stop|
|00000e00| 0d 70 6c 61 79 20 62 6f | 69 6e 67 0d 65 78 69 74 |.play bo|ing.exit|
|00000e10| 20 6b 65 79 44 6f 77 6e | 0d 65 6e 64 20 69 66 0d | keyDown|.end if.|
|00000e20| 69 66 20 6b 65 79 4d 61 | 70 20 69 73 20 6e 6f 74 |if keyMa|p is not|
|00000e30| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 67 65 74 20 | empty t|hen.get |
|00000e40| 6f 66 66 53 65 74 28 77 | 68 69 63 68 2c 20 76 61 |offSet(w|hich, va|
|00000e50| 6c 69 64 4b 65 79 73 29 | 0d 73 65 6e 64 20 22 6b |lidKeys)|.send "k|
|00000e60| 65 79 44 6f 77 6e 20 63 | 68 61 72 20 69 74 20 6f |eyDown c|har it o|
|00000e70| 66 20 6b 65 79 4d 61 70 | 22 20 74 6f 20 48 79 70 |f keyMap|" to Hyp|
|00000e80| 65 72 43 61 72 64 0d 65 | 78 69 74 20 6b 65 79 44 |erCard.e|xit keyD|
|00000e90| 6f 77 6e 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |own.end |if.end i|
|00000ea0| 66 0d 70 61 73 73 20 6b | 65 79 44 6f 77 6e 0d 65 |f.pass k|eyDown.e|
|00000eb0| 6e 64 20 6b 65 79 44 6f | 77 6e 0d 0d 6f 6e 20 63 |nd keyDo|wn..on c|
|00000ec0| 6f 6d 6d 61 6e 64 4b 65 | 79 44 6f 77 6e 20 77 68 |ommandKe|yDown wh|
|00000ed0| 61 74 0d 67 6c 6f 62 61 | 6c 20 6f 76 65 72 64 6f |at.globa|l overdo|
|00000ee0| 67 0d 69 66 20 6f 76 65 | 72 64 6f 67 20 61 6e 64 |g.if ove|rdog and|
|00000ef0| 20 77 68 61 74 20 69 73 | 20 6e 6f 74 20 4e 75 6d | what is| not Num|
|00000f00| 54 6f 43 68 61 72 28 32 | 37 29 c2 0d 61 6e 64 20 |ToChar(2|7)..and |
|00000f10| 77 68 61 74 20 69 73 20 | 6e 6f 74 20 4e 75 6d 54 |what is |not NumT|
|00000f20| 6f 43 68 61 72 28 38 29 | 20 74 68 65 6e 20 70 61 |oChar(8)| then pa|
|00000f30| 73 73 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 44 6f 77 |ss comma|ndKeyDow|
|00000f40| 6e 0d 69 66 20 77 68 61 | 74 20 69 73 20 69 6e 20 |n.if wha|t is in |
|00000f50| 22 71 7a 78 63 76 68 3f | 2f 22 20 74 68 65 6e 20 |"qzxcvh?|/" then |
|00000f60| 70 61 73 73 20 63 6f 6d | 6d 61 6e 64 4b 65 79 44 |pass com|mandKeyD|
|00000f70| 6f 77 6e 0d 70 6c 61 79 | 20 73 74 6f 70 0d 70 6c |own.play| stop.pl|
|00000f80| 61 79 20 62 6f 69 6e 67 | 0d 65 6e 64 20 63 6f 6d |ay boing|.end com|
|00000f90| 6d 61 6e 64 4b 65 79 44 | 6f 77 6e 0d 0d 6f 6e 20 |mandKeyD|own..on |
|00000fa0| 6f 70 65 6e 46 69 65 6c | 64 0d 69 66 20 74 68 65 |openFiel|d.if the|
|00000fb0| 20 73 74 79 6c 65 20 6f | 66 20 74 68 65 20 74 61 | style o|f the ta|
|00000fc0| 72 67 65 74 20 69 73 20 | 6e 6f 74 20 73 63 72 6f |rget is |not scro|
|00000fd0| 6c 6c 69 6e 67 20 74 68 | 65 6e 0d 67 65 74 20 74 |lling th|en.get t|
|00000fe0| 68 65 20 68 65 69 67 68 | 74 20 6f 66 20 74 68 65 |he heigh|t of the|
|00000ff0| 20 74 61 72 67 65 74 0d | 67 65 74 20 69 74 20 64 | target.|get it d|
|00001000| 69 76 20 28 74 65 78 74 | 68 65 69 67 68 74 20 6f |iv (text|height o|
|00001010| 66 20 74 61 72 67 65 74 | 29 0d 70 75 74 20 69 74 |f target|).put it|
|00001020| 20 69 6e 74 6f 20 6e 75 | 6d 6c 69 6e 65 73 0d 67 | into nu|mlines.g|
|00001030| 65 74 20 74 68 65 20 77 | 69 64 74 68 20 6f 66 20 |et the w|idth of |
|00001040| 74 68 65 20 74 61 72 67 | 65 74 20 2d 20 36 0d 67 |the targ|et - 6.g|
|00001050| 65 74 20 69 74 20 64 69 | 76 20 37 0d 70 75 74 20 |et it di|v 7.put |
|00001060| 69 74 20 69 6e 74 6f 20 | 6e 75 6d 63 68 61 72 73 |it into |numchars|
|00001070| 0d 65 6c 73 65 0d 70 75 | 74 20 65 6d 70 74 79 20 |.else.pu|t empty |
|00001080| 69 6e 74 6f 20 6e 75 6d | 63 68 61 72 73 0d 70 75 |into num|chars.pu|
|00001090| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 6e 75 6d |t empty |into num|
|000010a0| 6c 69 6e 65 73 0d 65 6e | 64 20 69 66 0d 63 6c 65 |lines.en|d if.cle|
|000010b0| 61 72 4b 65 79 73 20 6e | 75 6d 6c 69 6e 65 73 2c |arKeys n|umlines,|
|000010c0| 20 6e 75 6d 63 68 61 72 | 73 0d 65 6e 64 20 6f 70 | numchar|s.end op|
|000010d0| 65 6e 46 69 65 6c 64 0d | 0d 6f 6e 20 63 6c 65 61 |enField.|.on clea|
|000010e0| 72 4b 65 79 73 20 6d 79 | 4d 61 78 4c 69 6e 65 73 |rKeys my|MaxLines|
|000010f0| 2c 20 6d 79 4d 61 78 43 | 68 61 72 73 2c 20 6d 79 |, myMaxC|hars, my|
|00001100| 56 61 6c 69 64 4b 65 79 | 73 2c 20 6d 79 4b 65 79 |ValidKey|s, myKey|
|00001110| 6d 61 70 0d 67 6c 6f 62 | 61 6c 20 76 61 6c 69 64 |map.glob|al valid|
|00001120| 4b 65 79 73 0d 67 6c 6f | 62 61 6c 20 6b 65 79 4d |Keys.glo|bal keyM|
|00001130| 61 70 0d 67 6c 6f 62 61 | 6c 20 6d 61 78 43 68 61 |ap.globa|l maxCha|
|00001140| 72 73 0d 67 6c 6f 62 61 | 6c 20 6d 61 78 4c 69 6e |rs.globa|l maxLin|
|00001150| 65 73 0d 0d 70 75 74 20 | 6d 79 4d 61 78 4c 69 6e |es..put |myMaxLin|
|00001160| 65 73 20 69 6e 74 6f 20 | 6d 61 78 4c 69 6e 65 73 |es into |maxLines|
|00001170| 0d 70 75 74 20 6d 79 4d | 61 78 43 68 61 72 73 20 |.put myM|axChars |
|00001180| 69 6e 74 6f 20 6d 61 78 | 43 68 61 72 73 0d 70 75 |into max|Chars.pu|
|00001190| 74 20 6d 79 56 61 6c 69 | 64 4b 65 79 73 20 69 6e |t myVali|dKeys in|
|000011a0| 74 6f 20 76 61 6c 69 64 | 4b 65 79 73 0d 70 75 74 |to valid|Keys.put|
|000011b0| 20 6d 79 4b 65 79 6d 61 | 70 20 69 6e 74 6f 20 6b | myKeyma|p into k|
|000011c0| 65 79 4d 61 70 0d 65 6e | 64 20 63 6c 65 61 72 4b |eyMap.en|d clearK|
|000011d0| 65 79 73 0d 0d 6f 6e 20 | 61 72 72 6f 77 4b 65 79 |eys..on |arrowKey|
|000011e0| 20 77 68 69 63 68 0d 67 | 6c 6f 62 61 6c 20 6f 76 | which.g|lobal ov|
|000011f0| 65 72 64 6f 67 0d 69 66 | 20 6f 76 65 72 64 6f 67 |erdog.if| overdog|
|00001200| 20 74 68 65 6e 20 70 61 | 73 73 20 61 72 72 6f 77 | then pa|ss arrow|
|00001210| 4b 65 79 0d 69 66 20 74 | 68 65 20 73 65 6c 65 63 |Key.if t|he selec|
|00001220| 74 65 64 46 69 65 6c 64 | 20 69 73 20 6e 6f 74 20 |tedField| is not |
|00001230| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 61 73 73 20 |empty th|en pass |
|00001240| 61 72 72 6f 77 4b 65 79 | 0d 70 6c 61 79 20 73 74 |arrowKey|.play st|
|00001250| 6f 70 0d 70 6c 61 79 20 | 62 6f 69 6e 67 0d 65 6e |op.play |boing.en|
|00001260| 64 20 61 72 72 6f 77 4b | 65 79 0d 0d 6f 6e 20 6f |d arrowK|ey..on o|
|00001270| 70 65 6e 63 61 72 64 0d | 74 61 62 4b 65 79 0d 70 |pencard.|tabKey.p|
|00001280| 61 73 73 20 6f 70 65 6e | 63 61 72 64 0d 65 6e 64 |ass open|card.end|
|00001290| 20 6f 70 65 6e 63 61 72 | 64 0d 6f 6e 20 63 6c 6f | opencar|d.on clo|
|000012a0| 73 65 43 61 72 64 0d 67 | 6c 6f 62 61 6c 20 76 61 |seCard.g|lobal va|
|000012b0| 6c 69 64 4b 65 79 73 0d | 70 75 74 20 65 6d 70 74 |lidKeys.|put empt|
|000012c0| 79 20 69 6e 74 6f 20 76 | 61 6c 69 64 4b 65 79 73 |y into v|alidKeys|
|000012d0| 0d 70 61 73 73 20 63 6c | 6f 73 65 43 61 72 64 0d |.pass cl|oseCard.|
|000012e0| 65 6e 64 20 63 6c 6f 73 | 65 43 61 72 64 0d 0d 6f |end clos|eCard..o|
|000012f0| 6e 20 65 72 72 6f 72 4d | 73 67 20 6d 65 73 73 61 |n errorM|sg messa|
|00001300| 67 65 0d 67 6c 6f 62 61 | 6c 20 6f 76 65 72 64 6f |ge.globa|l overdo|
|00001310| 67 0d 67 6c 6f 62 61 6c | 20 6f 76 65 72 72 69 64 |g.global| overrid|
|00001320| 65 0d 61 6e 73 77 65 72 | 20 6d 65 73 73 61 67 65 |e.answer| message|
|00001330| 20 77 69 74 68 20 22 44 | 65 62 75 67 22 20 6f 72 | with "D|ebug" or|
|00001340| 20 22 51 75 69 74 22 0d | 69 66 20 69 74 20 69 73 | "Quit".|if it is|
|00001350| 20 22 44 65 62 75 67 22 | 20 61 6e 64 20 6f 76 65 | "Debug"| and ove|
|00001360| 72 64 6f 67 20 74 68 65 | 6e 0d 64 65 62 75 67 20 |rdog the|n.debug |
|00001370| 63 68 65 63 6b 70 6f 69 | 6e 74 0d 65 78 69 74 20 |checkpoi|nt.exit |
|00001380| 65 72 72 6f 72 4d 73 67 | 0d 65 6c 73 65 20 69 66 |errorMsg|.else if|
|00001390| 20 69 74 20 69 73 20 22 | 44 65 62 75 67 22 20 74 | it is "|Debug" t|
|000013a0| 68 65 6e 0d 61 73 6b 20 | 22 53 75 70 65 72 75 73 |hen.ask |"Superus|
|000013b0| 65 72 20 50 61 73 73 77 | 6f 72 64 22 20 77 69 74 |er Passw|ord" wit|
|000013c0| 68 20 22 6d 65 74 61 62 | 6c 6f 74 22 0d 69 66 20 |h "metab|lot".if |
|000013d0| 69 74 20 69 73 20 22 6d | 65 74 61 62 6c 6f 74 22 |it is "m|etablot"|
|000013e0| 20 74 68 65 6e 0d 70 75 | 74 20 74 72 75 65 20 69 | then.pu|t true i|
|000013f0| 6e 74 6f 20 6f 76 65 72 | 64 6f 67 0d 73 65 74 20 |nto over|dog.set |
|00001400| 75 73 65 72 6c 65 76 65 | 6c 20 74 6f 20 35 0d 64 |userleve|l to 5.d|
|00001410| 65 62 75 67 20 63 68 65 | 63 6b 70 6f 69 6e 74 0d |ebug che|ckpoint.|
|00001420| 65 78 69 74 20 65 72 72 | 6f 72 4d 73 67 0d 65 6e |exit err|orMsg.en|
|00001430| 64 20 69 66 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |d if.els|e if it |
|00001440| 69 73 20 22 51 75 69 74 | 22 20 61 6e 64 20 6f 76 |is "Quit|" and ov|
|00001450| 65 72 64 6f 67 20 74 68 | 65 6e 0d 65 78 69 74 20 |erdog th|en.exit |
|00001460| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 65 6e 64 |to Hyper|Card.end|
|00001470| 20 69 66 0d 6d 79 47 6f | 48 6f 6d 65 0d 65 78 69 | if.myGo|Home.exi|
|00001480| 74 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |t to Hyp|erCard.e|
|00001490| 6e 64 20 65 72 72 6f 72 | 4d 73 67 0d 0d 6f 6e 20 |nd error|Msg..on |
|000014a0| 67 6f 63 68 65 63 6b 20 | 73 74 61 63 6b 6e 61 6d |gocheck |stacknam|
|000014b0| 65 2c 63 61 72 64 6e 6f | 0d 0d 73 65 74 20 6c 6f |e,cardno|..set lo|
|000014c0| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 74 72 |ckMessag|es to tr|
|000014d0| 75 65 0d 73 65 74 20 6c | 6f 63 6b 52 65 63 65 6e |ue.set l|ockRecen|
|000014e0| 74 20 74 6f 20 74 72 75 | 65 0d 67 6f 20 74 6f 20 |t to tru|e.go to |
|000014f0| 63 61 72 64 20 69 64 20 | 63 61 72 64 6e 6f 20 6f |card id |cardno o|
|00001500| 66 20 73 74 61 63 6b 20 | 73 74 61 63 6b 6e 61 6d |f stack |stacknam|
|00001510| 65 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 69 |e.if the| short i|
|00001520| 64 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 69 |d of thi|s card i|
|00001530| 73 20 6e 6f 74 20 63 61 | 72 64 6e 6f c2 0d 6f 72 |s not ca|rdno..or|
|00001540| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00001550| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 69 73 |of this |stack is|
|00001560| 20 6e 6f 74 20 73 74 61 | 63 6b 6e 61 6d 65 20 74 | not sta|ckname t|
|00001570| 68 65 6e 0d 65 72 72 6f | 72 4d 73 67 20 22 67 6f |hen.erro|rMsg "go|
|00001580| 43 68 65 63 6b 3a 20 63 | 6f 75 6c 64 6e 27 74 20 |Check: c|ouldn't |
|00001590| 66 69 6e 64 20 63 61 72 | 64 20 69 64 20 22 26 63 |find car|d id "&c|
|000015a0| 61 72 64 4e 6f 26 c2 0d | 22 20 6f 66 20 73 74 61 |ardNo&..|" of sta|
|000015b0| 63 6b 20 22 26 73 74 61 | 63 6b 6e 61 6d 65 0d 65 |ck "&sta|ckname.e|
|000015c0| 6e 64 20 69 66 0d 65 6e | 64 20 67 6f 63 68 65 63 |nd if.en|d gochec|
|000015d0| 6b 0d 0d 6f 6e 20 63 6c | 6f 73 65 53 74 61 63 6b |k..on cl|oseStack|
|000015e0| 0d 6c 65 61 76 65 54 65 | 6c 65 50 72 69 6e 74 0d |.leaveTe|lePrint.|
|000015f0| 70 61 73 73 20 63 6c 6f | 73 65 53 74 61 63 6b 0d |pass clo|seStack.|
|00001600| 65 6e 64 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 0d |end clos|eStack..|
|00001610| 6f 6e 20 6c 65 61 76 65 | 54 65 6c 65 50 72 69 6e |on leave|TelePrin|
|00001620| 74 0d 67 6c 6f 62 61 6c | 20 6f 76 65 72 64 6f 67 |t.global| overdog|
|00001630| 0d 67 6c 6f 62 61 6c 20 | 75 73 72 64 69 72 0d 67 |.global |usrdir.g|
|00001640| 6c 6f 62 61 6c 20 49 6d | 61 67 65 46 69 6c 65 73 |lobal Im|ageFiles|
|00001650| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00001660| 6f 76 65 72 64 6f 67 0d | 72 65 70 65 61 74 20 77 |overdog.|repeat w|
|00001670| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|00001680| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00001690| 49 6d 61 67 65 46 69 6c | 65 73 0d 67 65 74 20 6c |ImageFil|es.get l|
|000016a0| 69 6e 65 20 69 20 6f 66 | 20 49 6d 61 67 65 46 69 |ine i of| ImageFi|
|000016b0| 6c 65 73 0d 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |les.if i|t is not|
|000016c0| 20 65 6d 70 74 79 20 61 | 6e 64 20 22 3a 22 20 69 | empty a|nd ":" i|
|000016d0| 73 20 6e 6f 74 20 69 6e | 20 69 74 20 74 68 65 6e |s not in| it then|
|000016e0| 0d 64 65 6c 65 74 65 66 | 69 6c 65 20 75 73 72 64 |.deletef|ile usrd|
|000016f0| 69 72 20 26 20 69 74 0d | 65 6e 64 20 69 66 0d 65 |ir & it.|end if.e|
|00001700| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 6c 65 |nd repea|t.end le|
|00001710| 61 76 65 54 65 6c 65 50 | 72 69 6e 74 0d 0d 6f 6e |aveTeleP|rint..on|
|00001720| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 6d 79 53 74 61 | openSta|ck.mySta|
|00001730| 72 74 55 70 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |rtUp.end| openSta|
|00001740| 63 6b 0d 0d 6f 6e 20 6d | 79 53 74 61 72 74 55 70 |ck..on m|yStartUp|
|00001750| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00001760| 61 74 63 68 0d 67 6f 20 | 66 69 72 73 74 0d 67 6c |atch.go |first.gl|
|00001770| 6f 62 61 6c 20 6d 79 48 | 6f 6d 65 53 74 61 63 6b |obal myH|omeStack|
|00001780| 0d 67 6c 6f 62 61 6c 20 | 64 63 6c 69 63 6b 0d 67 |.global |dclick.g|
|00001790| 6c 6f 62 61 6c 20 6f 76 | 65 72 64 6f 67 0d 67 6c |lobal ov|erdog.gl|
|000017a0| 6f 62 61 6c 20 75 73 72 | 64 69 72 0d 67 6c 6f 62 |obal usr|dir.glob|
|000017b0| 61 6c 20 56 65 6e 64 6f | 72 49 44 0d 67 6c 6f 62 |al Vendo|rID.glob|
|000017c0| 61 6c 20 61 75 74 6f 70 | 72 69 6e 74 0d 67 6c 6f |al autop|rint.glo|
|000017d0| 62 61 6c 20 53 61 6c 65 | 73 54 61 78 0d 67 6c 6f |bal Sale|sTax.glo|
|000017e0| 62 61 6c 20 47 72 6f 75 | 70 4e 61 6d 65 0d 67 6c |bal Grou|pName.gl|
|000017f0| 6f 62 61 6c 20 43 65 6e | 74 72 61 6c 50 68 6f 6e |obal Cen|tralPhon|
|00001800| 65 0d 67 6c 6f 62 61 6c | 20 41 72 65 61 43 6f 64 |e.global| AreaCod|
|00001810| 65 0d 67 6c 6f 62 61 6c | 20 47 6f 6f 64 69 65 45 |e.global| GoodieE|
|00001820| 78 70 0d 0d 69 66 20 6f | 76 65 72 64 6f 67 20 69 |xp..if o|verdog i|
|00001830| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |s empty |then put|
|00001840| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 6f 76 65 72 | false i|nto over|
|00001850| 64 6f 67 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 64 |dog.put |0 into d|
|00001860| 63 6c 69 63 6b 0d 0d 73 | 65 74 20 74 68 65 20 55 |click..s|et the U|
|00001870| 73 65 72 4d 6f 64 69 66 | 79 20 74 6f 20 74 72 75 |serModif|y to tru|
|00001880| 65 0d 67 65 74 20 74 68 | 65 20 6c 6f 6e 67 20 6e |e.get th|e long n|
|00001890| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|000018a0| 6b 0d 70 75 74 20 73 79 | 73 74 65 6d 66 6f 6c 64 |k.put sy|stemfold|
|000018b0| 65 72 28 29 20 69 6e 74 | 6f 20 75 73 72 64 69 72 |er() int|o usrdir|
|000018c0| 0d 0d 70 75 74 20 63 61 | 72 64 20 66 69 65 6c 64 |..put ca|rd field|
|000018d0| 20 22 56 65 6e 64 6f 72 | 49 44 22 20 69 6e 74 6f | "Vendor|ID" into|
|000018e0| 20 56 65 6e 64 6f 72 49 | 44 0d 70 75 74 20 63 61 | VendorI|D.put ca|
|000018f0| 72 64 20 66 69 65 6c 64 | 20 22 61 75 74 6f 70 72 |rd field| "autopr|
|00001900| 69 6e 74 22 20 69 6e 74 | 6f 20 61 75 74 6f 70 72 |int" int|o autopr|
|00001910| 69 6e 74 0d 70 75 74 20 | 63 61 72 64 20 66 69 65 |int.put |card fie|
|00001920| 6c 64 20 22 53 61 6c 65 | 73 54 61 78 22 20 69 6e |ld "Sale|sTax" in|
|00001930| 74 6f 20 53 61 6c 65 73 | 54 61 78 0d 70 75 74 20 |to Sales|Tax.put |
|00001940| 63 61 72 64 20 66 69 65 | 6c 64 20 22 47 72 6f 75 |card fie|ld "Grou|
|00001950| 70 4e 61 6d 65 22 20 69 | 6e 74 6f 20 47 72 6f 75 |pName" i|nto Grou|
|00001960| 70 4e 61 6d 65 0d 70 75 | 74 20 63 61 72 64 20 66 |pName.pu|t card f|
|00001970| 69 65 6c 64 20 22 43 65 | 6e 74 72 61 6c 50 68 6f |ield "Ce|ntralPho|
|00001980| 6e 65 22 20 69 6e 74 6f | 20 43 65 6e 74 72 61 6c |ne" into| Central|
|00001990| 50 68 6f 6e 65 0d 70 75 | 74 20 63 61 72 64 20 66 |Phone.pu|t card f|
|000019a0| 69 65 6c 64 20 22 41 72 | 65 61 43 6f 64 65 22 20 |ield "Ar|eaCode" |
|000019b0| 69 6e 74 6f 20 41 72 65 | 61 43 6f 64 65 0d 70 75 |into Are|aCode.pu|
|000019c0| 74 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 73 74 |t card f|ield "st|
|000019d0| 61 63 6b 65 78 70 22 20 | 69 6e 74 6f 20 73 74 61 |ackexp" |into sta|
|000019e0| 63 6b 65 78 70 0d 70 75 | 74 20 63 61 72 64 20 66 |ckexp.pu|t card f|
|000019f0| 69 65 6c 64 20 22 47 6f | 6f 64 69 65 45 78 70 22 |ield "Go|odieExp"|
|00001a00| 20 69 6e 74 6f 20 47 6f | 6f 64 69 65 45 78 70 0d | into Go|odieExp.|
|00001a10| 0d 63 6f 6e 76 65 72 74 | 20 47 6f 6f 64 69 65 45 |.convert| GoodieE|
|00001a20| 78 70 20 74 6f 20 73 65 | 63 6f 6e 64 73 0d 63 6f |xp to se|conds.co|
|00001a30| 6e 76 65 72 74 20 73 74 | 61 63 6b 65 78 70 20 74 |nvert st|ackexp t|
|00001a40| 6f 20 73 65 63 6f 6e 64 | 73 0d 69 66 20 73 74 61 |o second|s.if sta|
|00001a50| 63 6b 65 78 70 3c 74 68 | 65 20 73 65 63 6f 6e 64 |ckexp<th|e second|
|00001a60| 73 20 61 6e 64 20 6e 6f | 74 20 6f 76 65 72 64 6f |s and no|t overdo|
|00001a70| 67 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 53 |g then.a|nswer "S|
|00001a80| 6f 72 72 79 2c 20 62 75 | 74 20 74 68 65 20 70 72 |orry, bu|t the pr|
|00001a90| 69 63 69 6e 67 20 69 6e | 20 74 68 69 73 20 73 74 |icing in| this st|
|00001aa0| 61 63 6b 20 69 73 20 6e | 6f 20 6c 6f 6e 67 65 72 |ack is n|o longer|
|00001ab0| 20 76 61 6c 69 64 2e 22 | 26 26 c2 0d 72 65 74 75 | valid."|&&..retu|
|00001ac0| 72 6e 20 26 20 22 50 6c | 65 61 73 65 20 63 61 6c |rn & "Pl|ease cal|
|00001ad0| 6c 20 54 65 6c 65 50 72 | 69 6e 74 20 53 79 73 74 |l TelePr|int Syst|
|00001ae0| 65 6d 73 2c 20 49 6e 63 | 2e 20 61 74 20 31 2d 38 |ems, Inc|. at 1-8|
|00001af0| 30 30 2d 33 33 36 2d 37 | 33 39 30 22 26 26 c2 0d |00-336-7|390"&&..|
|00001b00| 22 66 6f 72 20 61 20 66 | 72 65 65 20 75 70 64 61 |"for a f|ree upda|
|00001b10| 74 65 2e 22 20 77 69 74 | 68 20 22 51 75 69 74 22 |te." wit|h "Quit"|
|00001b20| 20 6f 72 20 22 48 6f 6d | 65 22 0d 69 66 20 69 74 | or "Hom|e".if it|
|00001b30| 20 69 73 20 22 51 75 69 | 74 22 20 74 68 65 6e 0d | is "Qui|t" then.|
|00001b40| 73 65 6e 64 20 22 64 6f | 4d 65 6e 75 22 26 26 71 |send "do|Menu"&&q|
|00001b50| 75 6f 74 65 26 22 51 75 | 69 74 20 48 79 70 65 72 |uote&"Qu|it Hyper|
|00001b60| 43 61 72 64 22 26 71 75 | 6f 74 65 20 74 6f 20 48 |Card"&qu|ote to H|
|00001b70| 79 70 65 72 43 61 72 64 | 0d 65 6c 73 65 20 67 6f |yperCard|.else go|
|00001b80| 20 48 6f 6d 65 0d 65 78 | 69 74 20 6d 79 53 74 61 | Home.ex|it mySta|
|00001b90| 72 74 55 70 0d 65 6e 64 | 20 69 66 0d 0d 67 6c 6f |rtUp.end| if..glo|
|00001ba0| 62 61 6c 20 64 65 61 64 | 4b 65 79 73 0d 67 6c 6f |bal dead|Keys.glo|
|00001bb0| 62 61 6c 20 73 74 61 74 | 65 73 0d 67 6c 6f 62 61 |bal stat|es.globa|
|00001bc0| 6c 20 66 75 6e 4b 65 79 | 73 0d 67 6c 6f 62 61 6c |l funKey|s.global|
|00001bd0| 20 6e 75 6d 65 72 69 63 | 4b 65 79 73 0d 67 6c 6f | numeric|Keys.glo|
|00001be0| 62 61 6c 20 75 70 70 65 | 72 41 6c 70 68 61 0d 67 |bal uppe|rAlpha.g|
|00001bf0| 6c 6f 62 61 6c 20 6c 6f | 77 65 72 41 6c 70 68 61 |lobal lo|werAlpha|
|00001c00| 0d 67 6c 6f 62 61 6c 20 | 61 6c 70 68 61 4b 65 79 |.global |alphaKey|
|00001c10| 73 0d 67 6c 6f 62 61 6c | 20 70 75 6e 63 74 4b 65 |s.global| punctKe|
|00001c20| 79 73 0d 67 6c 6f 62 61 | 6c 20 76 61 6c 69 64 4b |ys.globa|l validK|
|00001c30| 65 79 73 0d 67 6c 6f 62 | 61 6c 20 6b 65 79 4d 61 |eys.glob|al keyMa|
|00001c40| 70 0d 70 75 74 20 22 60 | 22 26 6e 75 6d 54 6f 43 |p.put "`|"&numToC|
|00001c50| 68 61 72 28 32 37 29 26 | 6e 75 6d 74 6f 63 68 61 |har(27)&|numtocha|
|00001c60| 72 28 31 29 26 6e 75 6d | 74 6f 63 68 61 72 28 34 |r(1)&num|tochar(4|
|00001c70| 29 26 6e 75 6d 74 6f 63 | 68 61 72 28 35 29 20 69 |)&numtoc|har(5) i|
|00001c80| 6e 74 6f 20 64 65 61 64 | 4b 65 79 73 0d 70 75 74 |nto dead|Keys.put|
|00001c90| 20 22 41 4c 2c 41 4b 2c | 41 5a 2c 41 52 2c 43 41 | "AL,AK,|AZ,AR,CA|
|00001ca0| 2c 43 4f 2c 43 54 2c 44 | 45 2c 44 43 2c 46 4c 2c |,CO,CT,D|E,DC,FL,|
|00001cb0| 47 41 2c 48 49 2c 49 44 | 2c 49 4c 2c 49 4e 2c 22 |GA,HI,ID|,IL,IN,"|
|00001cc0| 26 c2 0d 22 49 41 2c 4b | 53 2c 4b 59 2c 4c 41 2c |&.."IA,K|S,KY,LA,|
|00001cd0| 4d 45 2c 4d 44 2c 4d 41 | 2c 4d 49 2c 4d 4e 2c 4d |ME,MD,MA|,MI,MN,M|
|00001ce0| 53 2c 4d 4f 2c 4d 54 2c | 4e 45 2c 4e 56 2c 4e 48 |S,MO,MT,|NE,NV,NH|
|00001cf0| 2c 4e 4a 2c 4e 4d 2c 4e | 59 2c 4e 43 2c 4e 44 2c |,NJ,NM,N|Y,NC,ND,|
|00001d00| 4f 48 2c 22 26 c2 0d 22 | 4f 4b 2c 4f 52 2c 50 41 |OH,"&.."|OK,OR,PA|
|00001d10| 2c 50 52 2c 52 49 2c 53 | 43 2c 53 44 2c 54 4e 2c |,PR,RI,S|C,SD,TN,|
|00001d20| 54 58 2c 55 54 2c 56 54 | 2c 56 49 2c 56 41 2c 57 |TX,UT,VT|,VI,VA,W|
|00001d30| 41 2c 57 56 2c 57 49 2c | 57 59 22 20 69 6e 74 6f |A,WV,WI,|WY" into|
|00001d40| 20 73 74 61 74 65 73 0d | 70 75 74 20 4e 75 6d 54 | states.|put NumT|
|00001d50| 6f 43 68 61 72 28 33 29 | 20 26 20 4e 75 6d 54 6f |oChar(3)| & NumTo|
|00001d60| 43 68 61 72 28 38 29 20 | 26 20 72 65 74 75 72 6e |Char(8) |& return|
|00001d70| 20 26 20 74 61 62 20 26 | c2 0d 4e 75 6d 54 6f 43 | & tab &|..NumToC|
|00001d80| 68 61 72 28 32 38 29 20 | 26 20 4e 75 6d 54 6f 43 |har(28) |& NumToC|
|00001d90| 68 61 72 28 32 39 29 20 | 69 6e 74 6f 20 66 75 6e |har(29) |into fun|
|00001da0| 4b 65 79 73 0d 70 75 74 | 20 22 30 31 32 33 34 35 |Keys.put| "012345|
|00001db0| 36 37 38 39 22 20 69 6e | 74 6f 20 6e 75 6d 65 72 |6789" in|to numer|
|00001dc0| 69 63 4b 65 79 73 0d 70 | 75 74 20 22 41 42 43 44 |icKeys.p|ut "ABCD|
|00001dd0| 45 46 47 48 49 4a 4b 4c | 4d 4e 4f 50 51 52 53 54 |EFGHIJKL|MNOPQRST|
|00001de0| 55 56 57 58 59 5a 22 20 | 69 6e 74 6f 20 75 70 70 |UVWXYZ" |into upp|
|00001df0| 65 72 41 6c 70 68 61 0d | 70 75 74 20 22 61 62 63 |erAlpha.|put "abc|
|00001e00| 64 65 66 67 68 69 6a 6b | 6c 6d 6e 6f 70 71 72 73 |defghijk|lmnopqrs|
|00001e10| 74 75 76 77 78 79 7a 22 | 20 69 6e 74 6f 20 6c 6f |tuvwxyz"| into lo|
|00001e20| 77 65 72 41 6c 70 68 61 | 0d 70 75 74 20 75 70 70 |werAlpha|.put upp|
|00001e30| 65 72 41 6c 70 68 61 20 | 26 20 6c 6f 77 65 72 41 |erAlpha |& lowerA|
|00001e40| 6c 70 68 61 20 69 6e 74 | 6f 20 61 6c 70 68 61 4b |lpha int|o alphaK|
|00001e50| 65 79 73 0d 70 75 74 20 | 22 21 40 23 24 25 5e 26 |eys.put |"!@#$%^&|
|00001e60| 2a 28 29 2d 5f 3d 2b 5b | 7b 7d 5d 3b 3a 27 2c 3c |*()-_=+[|{}];:',<|
|00001e70| 2e 3e 2f 3f 60 7e 5c 7c | 22 26 71 75 6f 74 65 20 |.>/?`~\||"&quote |
|00001e80| 69 6e 74 6f 20 70 75 6e | 63 74 4b 65 79 73 0d 70 |into pun|ctKeys.p|
|00001e90| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 76 61 |ut empty| into va|
|00001ea0| 6c 69 64 4b 65 79 73 0d | 70 75 74 20 65 6d 70 74 |lidKeys.|put empt|
|00001eb0| 79 20 69 6e 74 6f 20 6b | 65 79 6d 61 70 0d 0d 69 |y into k|eymap..i|
|00001ec0| 66 20 6e 6f 74 20 6f 76 | 65 72 64 6f 67 20 74 68 |f not ov|erdog th|
|00001ed0| 65 6e 0d 73 65 74 20 75 | 73 65 72 6c 65 76 65 6c |en.set u|serlevel|
|00001ee0| 20 74 6f 20 33 20 2d 2d | 20 70 61 69 6e 74 69 6e | to 3 --| paintin|
|00001ef0| 67 0d 73 65 74 20 74 65 | 78 74 61 72 72 6f 77 73 |g.set te|xtarrows|
|00001f00| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 70 6f 77 | to true|.set pow|
|00001f10| 65 72 6b 65 79 73 20 74 | 6f 20 66 61 6c 73 65 0d |erkeys t|o false.|
|00001f20| 73 65 74 20 62 6c 69 6e | 64 54 79 70 69 6e 67 20 |set blin|dTyping |
|00001f30| 74 6f 20 66 61 6c 73 65 | 0d 68 69 64 65 20 6d 65 |to false|.hide me|
|00001f40| 73 73 61 67 65 20 77 69 | 6e 64 6f 77 0d 68 69 64 |ssage wi|ndow.hid|
|00001f50| 65 20 74 6f 6f 6c 20 77 | 69 6e 64 6f 77 0d 68 69 |e tool w|indow.hi|
|00001f60| 64 65 20 70 61 74 74 65 | 72 6e 20 77 69 6e 64 6f |de patte|rn windo|
|00001f70| 77 0d 68 69 64 65 20 6d | 65 6e 75 62 61 72 0d 2d |w.hide m|enubar.-|
|00001f80| 2d 20 68 69 64 65 20 74 | 69 74 6c 65 62 61 72 0d |- hide t|itlebar.|
|00001f90| 73 65 74 20 74 68 65 20 | 63 61 6e 74 41 62 6f 72 |set the |cantAbor|
|00001fa0| 74 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |t of thi|s stack |
|00001fb0| 74 6f 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |to true.|set the |
|00001fc0| 63 61 6e 74 50 65 65 6b | 20 6f 66 20 74 68 69 73 |cantPeek| of this|
|00001fd0| 20 73 74 61 63 6b 20 74 | 6f 20 74 72 75 65 0d 65 | stack t|o true.e|
|00001fe0| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 63 61 6e 74 |lse.set |the cant|
|00001ff0| 41 62 6f 72 74 20 6f 66 | 20 74 68 69 73 20 73 74 |Abort of| this st|
|00002000| 61 63 6b 20 74 6f 20 66 | 61 6c 73 65 0d 73 65 74 |ack to f|alse.set|
|00002010| 20 74 68 65 20 63 61 6e | 74 50 65 65 6b 20 6f 66 | the can|tPeek of|
|00002020| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 66 | this st|ack to f|
|00002030| 61 6c 73 65 0d 65 6e 64 | 20 69 66 0d 63 68 65 63 |alse.end| if.chec|
|00002040| 6b 46 6f 72 4d 69 73 73 | 69 6e 67 46 6f 6e 74 73 |kForMiss|ingFonts|
|00002050| 0d 65 6e 64 20 6d 79 53 | 74 61 72 74 55 70 0d 0d |.end myS|tartUp..|
|00002060| 6f 6e 20 6d 79 47 6f 48 | 6f 6d 65 0d 67 6f 20 74 |on myGoH|ome.go t|
|00002070| 6f 20 63 61 72 64 20 31 | 20 6f 66 20 74 68 69 73 |o card 1| of this|
|00002080| 20 73 74 61 63 6b 0d 65 | 6d 70 74 79 6d 65 0d 65 | stack.e|mptyme.e|
|00002090| 6e 64 20 6d 79 47 6f 48 | 6f 6d 65 0d 6f 6e 20 73 |nd myGoH|ome.on s|
|000020a0| 74 64 50 68 6f 6e 65 4f | 70 65 6e 46 69 65 6c 64 |tdPhoneO|penField|
|000020b0| 0d 67 6c 6f 62 61 6c 20 | 6e 75 6d 65 72 69 63 4b |.global |numericK|
|000020c0| 65 79 73 0d 67 6c 6f 62 | 61 6c 20 70 75 6e 63 74 |eys.glob|al punct|
|000020d0| 4b 65 79 73 0d 63 6c 65 | 61 72 4b 65 79 73 20 31 |Keys.cle|arKeys 1|
|000020e0| 2c 20 31 36 2c 20 6e 75 | 6d 65 72 69 63 4b 65 79 |, 16, nu|mericKey|
|000020f0| 73 26 70 75 6e 63 74 4b | 65 79 73 26 73 70 61 63 |s&punctK|eys&spac|
|00002100| 65 0d 65 6e 64 20 73 74 | 64 50 68 6f 6e 65 4f 70 |e.end st|dPhoneOp|
|00002110| 65 6e 46 69 65 6c 64 0d | 6f 6e 20 73 74 64 50 68 |enField.|on stdPh|
|00002120| 6f 6e 65 43 6c 6f 73 65 | 46 69 65 6c 64 20 73 77 |oneClose|Field sw|
|00002130| 69 74 63 68 0d 67 6c 6f | 62 61 6c 20 41 72 65 61 |itch.glo|bal Area|
|00002140| 43 6f 64 65 0d 69 66 20 | 73 77 69 74 63 68 20 69 |Code.if |switch i|
|00002150| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 61 6e 64 20 |s not em|pty and |
|00002160| 74 61 72 67 65 74 20 69 | 73 20 65 6d 70 74 79 20 |target i|s empty |
|00002170| 74 68 65 6e 20 65 78 69 | 74 20 73 74 64 50 68 6f |then exi|t stdPho|
|00002180| 6e 65 43 6c 6f 73 65 46 | 69 65 6c 64 0d 67 65 74 |neCloseF|ield.get|
|00002190| 20 46 6f 72 6d 61 74 50 | 68 6f 6e 65 28 74 61 72 | FormatP|hone(tar|
|000021a0| 67 65 74 29 0d 69 66 20 | 6e 75 6d 62 65 72 20 6f |get).if |number o|
|000021b0| 66 20 63 68 61 72 73 20 | 69 6e 20 69 74 20 69 73 |f chars |in it is|
|000021c0| 20 38 20 74 68 65 6e 20 | 67 65 74 20 46 6f 72 6d | 8 then |get Form|
|000021d0| 61 74 50 68 6f 6e 65 28 | 41 72 65 61 43 6f 64 65 |atPhone(|AreaCode|
|000021e0| 20 26 20 74 61 72 67 65 | 74 29 0d 69 66 20 69 74 | & targe|t).if it|
|000021f0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00002200| 65 6e 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 74 |en.put i|t into t|
|00002210| 68 65 20 74 61 72 67 65 | 74 0d 73 65 6c 65 63 74 |he targe|t.select|
|00002220| 20 61 66 74 65 72 20 74 | 65 78 74 20 6f 66 20 74 | after t|ext of t|
|00002230| 68 65 20 74 61 72 67 65 | 74 0d 65 6c 73 65 0d 61 |he targe|t.else.a|
|00002240| 6e 73 77 65 72 20 22 54 | 68 61 74 20 69 73 20 6e |nswer "T|hat is n|
|00002250| 6f 74 20 61 20 76 61 6c | 69 64 20 70 68 6f 6e 65 |ot a val|id phone|
|00002260| 20 6e 75 6d 62 65 72 2e | 20 20 50 6c 65 61 73 65 | number.| Please|
|00002270| 20 72 65 2d 65 6e 74 65 | 72 2e 22 0d 73 65 6c 65 | re-ente|r.".sele|
|00002280| 63 74 20 74 65 78 74 20 | 6f 66 20 74 68 65 20 74 |ct text |of the t|
|00002290| 61 72 67 65 74 0d 65 78 | 69 74 20 74 6f 20 48 79 |arget.ex|it to Hy|
|000022a0| 70 65 72 43 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |perCard.|end if.e|
|000022b0| 6e 64 20 73 74 64 50 68 | 6f 6e 65 43 6c 6f 73 65 |nd stdPh|oneClose|
|000022c0| 46 69 65 6c 64 0d 6f 6e | 20 61 6c 74 50 68 6f 6e |Field.on| altPhon|
|000022d0| 65 43 6c 6f 73 65 46 69 | 65 6c 64 0d 64 6f 20 22 |eCloseFi|eld.do "|
|000022e0| 67 65 74 22 26 26 74 68 | 65 20 74 61 72 67 65 74 |get"&&th|e target|
|000022f0| 0d 69 66 20 69 73 6e 75 | 6d 28 69 74 29 20 74 68 |.if isnu|m(it) th|
|00002300| 65 6e 20 73 74 64 50 68 | 6f 6e 65 43 6c 6f 73 65 |en stdPh|oneClose|
|00002310| 46 69 65 6c 64 20 6f 6b | 45 6d 70 74 79 0d 65 6e |Field ok|Empty.en|
|00002320| 64 20 61 6c 74 50 68 6f | 6e 65 43 6c 6f 73 65 46 |d altPho|neCloseF|
|00002330| 69 65 6c 64 0d 6f 6e 20 | 65 6d 70 74 79 4d 65 0d |ield.on |emptyMe.|
|00002340| 67 6c 6f 62 61 6c 20 42 | 69 6c 6c 54 6f 4e 61 6d |global B|illToNam|
|00002350| 65 0d 67 6c 6f 62 61 6c | 20 42 69 6c 6c 54 6f 41 |e.global| BillToA|
|00002360| 64 64 72 0d 67 6c 6f 62 | 61 6c 20 42 69 6c 6c 54 |ddr.glob|al BillT|
|00002370| 6f 43 69 74 79 0d 67 6c | 6f 62 61 6c 20 42 69 6c |oCity.gl|obal Bil|
|00002380| 6c 54 6f 53 74 61 74 65 | 0d 67 6c 6f 62 61 6c 20 |lToState|.global |
|00002390| 42 69 6c 6c 54 6f 5a 49 | 50 0d 67 6c 6f 62 61 6c |BillToZI|P.global|
|000023a0| 20 42 69 6c 6c 54 6f 41 | 74 74 6e 0d 67 6c 6f 62 | BillToA|ttn.glob|
|000023b0| 61 6c 20 42 69 6c 6c 54 | 6f 50 68 6f 6e 65 0d 67 |al BillT|oPhone.g|
|000023c0| 6c 6f 62 61 6c 20 53 68 | 69 70 54 6f 4e 61 6d 65 |lobal Sh|ipToName|
|000023d0| 0d 67 6c 6f 62 61 6c 20 | 53 68 69 70 54 6f 41 64 |.global |ShipToAd|
|000023e0| 64 72 0d 67 6c 6f 62 61 | 6c 20 53 68 69 70 54 6f |dr.globa|l ShipTo|
|000023f0| 43 69 74 79 0d 67 6c 6f | 62 61 6c 20 53 68 69 70 |City.glo|bal Ship|
|00002400| 54 6f 53 74 61 74 65 0d | 67 6c 6f 62 61 6c 20 53 |ToState.|global S|
|00002410| 68 69 70 54 6f 5a 49 50 | 0d 67 6c 6f 62 61 6c 20 |hipToZIP|.global |
|00002420| 53 68 69 70 54 6f 41 74 | 74 6e 0d 67 6c 6f 62 61 |ShipToAt|tn.globa|
|00002430| 6c 20 53 68 69 70 54 6f | 50 68 6f 6e 65 0d 67 6c |l ShipTo|Phone.gl|
|00002440| 6f 62 61 6c 20 42 69 6c | 6c 54 6f 0d 67 6c 6f 62 |obal Bil|lTo.glob|
|00002450| 61 6c 20 53 68 69 70 54 | 6f 0d 67 6c 6f 62 61 6c |al ShipT|o.global|
|00002460| 20 49 74 65 6d 73 0d 67 | 6c 6f 62 61 6c 20 53 75 | Items.g|lobal Su|
|00002470| 62 54 6f 74 61 6c 0d 67 | 6c 6f 62 61 6c 20 54 61 |bTotal.g|lobal Ta|
|00002480| 78 0d 67 6c 6f 62 61 6c | 20 50 48 0d 67 6c 6f 62 |x.global| PH.glob|
|00002490| 61 6c 20 54 6f 74 61 6c | 0d 67 6c 6f 62 61 6c 20 |al Total|.global |
|000024a0| 44 65 66 61 75 6c 74 4c | 6f 67 6f 0d 67 6c 6f 62 |DefaultL|ogo.glob|
|000024b0| 61 6c 20 44 65 66 61 75 | 6c 74 54 79 70 65 53 74 |al Defau|ltTypeSt|
|000024c0| 79 6c 65 0d 67 6c 6f 62 | 61 6c 20 44 65 66 61 75 |yle.glob|al Defau|
|000024d0| 6c 74 44 65 73 69 67 6e | 0d 67 6c 6f 62 61 6c 20 |ltDesign|.global |
|000024e0| 4f 76 65 72 44 6f 67 0d | 70 75 74 20 65 6d 70 74 |OverDog.|put empt|
|000024f0| 79 20 69 6e 74 6f 20 42 | 69 6c 6c 54 6f 4e 61 6d |y into B|illToNam|
|00002500| 65 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e.put em|pty into|
|00002510| 20 42 69 6c 6c 54 6f 41 | 64 64 72 0d 70 75 74 20 | BillToA|ddr.put |
|00002520| 65 6d 70 74 79 20 69 6e | 74 6f 20 42 69 6c 6c 54 |empty in|to BillT|
|00002530| 6f 43 69 74 79 0d 70 75 | 74 20 65 6d 70 74 79 20 |oCity.pu|t empty |
|00002540| 69 6e 74 6f 20 42 69 6c | 6c 54 6f 53 74 61 74 65 |into Bil|lToState|
|00002550| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002560| 42 69 6c 6c 54 6f 5a 49 | 50 0d 70 75 74 20 65 6d |BillToZI|P.put em|
|00002570| 70 74 79 20 69 6e 74 6f | 20 42 69 6c 6c 54 6f 41 |pty into| BillToA|
|00002580| 74 74 6e 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |ttn.put |empty in|
|00002590| 74 6f 20 42 69 6c 6c 54 | 6f 50 68 6f 6e 65 0d 70 |to BillT|oPhone.p|
|000025a0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 53 68 |ut empty| into Sh|
|000025b0| 69 70 54 6f 4e 61 6d 65 | 0d 70 75 74 20 65 6d 70 |ipToName|.put emp|
|000025c0| 74 79 20 69 6e 74 6f 20 | 53 68 69 70 54 6f 41 64 |ty into |ShipToAd|
|000025d0| 64 72 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |dr.put e|mpty int|
|000025e0| 6f 20 53 68 69 70 54 6f | 43 69 74 79 0d 70 75 74 |o ShipTo|City.put|
|000025f0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 53 68 69 70 | empty i|nto Ship|
|00002600| 54 6f 53 74 61 74 65 0d | 70 75 74 20 65 6d 70 74 |ToState.|put empt|
|00002610| 79 20 69 6e 74 6f 20 53 | 68 69 70 54 6f 5a 49 50 |y into S|hipToZIP|
|00002620| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002630| 53 68 69 70 54 6f 41 74 | 74 6e 0d 70 75 74 20 65 |ShipToAt|tn.put e|
|00002640| 6d 70 74 79 20 69 6e 74 | 6f 20 53 68 69 70 54 6f |mpty int|o ShipTo|
|00002650| 50 68 6f 6e 65 0d 70 75 | 74 20 65 6d 70 74 79 20 |Phone.pu|t empty |
|00002660| 69 6e 74 6f 20 42 69 6c | 6c 54 6f 0d 70 75 74 20 |into Bil|lTo.put |
|00002670| 65 6d 70 74 79 20 69 6e | 74 6f 20 53 68 69 70 54 |empty in|to ShipT|
|00002680| 6f 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |o.put em|pty into|
|00002690| 20 49 74 65 6d 73 0d 70 | 75 74 20 65 6d 70 74 79 | Items.p|ut empty|
|000026a0| 20 69 6e 74 6f 20 53 75 | 62 54 6f 74 61 6c 0d 70 | into Su|bTotal.p|
|000026b0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 54 61 |ut empty| into Ta|
|000026c0| 78 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |x.put em|pty into|
|000026d0| 20 50 48 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e | PH.put |empty in|
|000026e0| 74 6f 20 54 6f 74 61 6c | 0d 70 75 74 20 65 6d 70 |to Total|.put emp|
|000026f0| 74 79 20 69 6e 74 6f 20 | 44 65 66 61 75 6c 74 4c |ty into |DefaultL|
|00002700| 6f 67 6f 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |ogo.put |empty in|
|00002710| 74 6f 20 44 65 66 61 75 | 6c 74 54 79 70 65 53 74 |to Defau|ltTypeSt|
|00002720| 79 6c 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |yle.put |empty in|
|00002730| 74 6f 20 44 65 66 61 75 | 6c 74 44 65 73 69 67 6e |to Defau|ltDesign|
|00002740| 0d 70 75 74 20 65 6d 70 | 79 74 20 69 6e 74 6f 20 |.put emp|yt into |
|00002750| 4f 76 65 72 44 6f 67 0d | 67 6c 6f 62 61 6c 20 73 |OverDog.|global s|
|00002760| 65 61 72 63 68 46 6f 72 | 0d 70 75 74 20 65 6d 70 |earchFor|.put emp|
|00002770| 74 79 20 69 6e 74 6f 20 | 73 65 61 72 63 68 46 6f |ty into |searchFo|
|00002780| 72 0d 65 6e 64 20 65 6d | 70 74 79 4d 65 0d 66 75 |r.end em|ptyMe.fu|
|00002790| 6e 63 74 69 6f 6e 20 76 | 61 6c 69 64 5a 49 50 20 |nction v|alidZIP |
|000027a0| 5a 49 50 43 6f 64 65 0d | 69 66 20 6e 75 6d 62 65 |ZIPCode.|if numbe|
|000027b0| 72 20 6f 66 20 63 68 61 | 72 73 20 69 6e 20 5a 49 |r of cha|rs in ZI|
|000027c0| 50 43 6f 64 65 20 69 73 | 20 35 20 74 68 65 6e 0d |PCode is| 5 then.|
|000027d0| 69 66 20 69 73 69 6e 74 | 28 5a 49 50 43 6f 64 65 |if isint|(ZIPCode|
|000027e0| 29 20 74 68 65 6e 0d 72 | 65 74 75 72 6e 20 74 72 |) then.r|eturn tr|
|000027f0| 75 65 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 20 69 |ue.end i|f.else i|
|00002800| 66 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 68 61 72 |f number| of char|
|00002810| 73 20 69 6e 20 5a 49 50 | 43 6f 64 65 20 69 73 20 |s in ZIP|Code is |
|00002820| 31 30 20 74 68 65 6e 0d | 69 66 20 63 68 61 72 20 |10 then.|if char |
|00002830| 36 20 6f 66 20 5a 49 50 | 43 6f 64 65 20 69 73 20 |6 of ZIP|Code is |
|00002840| 6e 6f 74 20 22 2d 22 20 | 74 68 65 6e 0d 72 65 74 |not "-" |then.ret|
|00002850| 75 72 6e 20 66 61 6c 73 | 65 0d 65 6e 64 20 69 66 |urn fals|e.end if|
|00002860| 0d 69 66 20 69 73 69 6e | 74 28 63 68 61 72 20 31 |.if isin|t(char 1|
|00002870| 20 74 6f 20 35 20 6f 66 | 20 5a 49 50 43 6f 64 65 | to 5 of| ZIPCode|
|00002880| 29 c2 0d 61 6e 64 20 69 | 73 69 6e 74 28 63 68 61 |)..and i|sint(cha|
|00002890| 72 20 37 20 74 6f 20 31 | 30 20 6f 66 20 5a 49 50 |r 7 to 1|0 of ZIP|
|000028a0| 43 6f 64 65 29 20 74 68 | 65 6e 0d 72 65 74 75 72 |Code) th|en.retur|
|000028b0| 6e 20 74 72 75 65 0d 65 | 6e 64 20 69 66 0d 65 6e |n true.e|nd if.en|
|000028c0| 64 20 69 66 0d 72 65 74 | 75 72 6e 20 66 61 6c 73 |d if.ret|urn fals|
|000028d0| 65 0d 65 6e 64 20 76 61 | 6c 69 64 5a 49 50 0d 66 |e.end va|lidZIP.f|
|000028e0| 75 6e 63 74 69 6f 6e 20 | 69 73 69 6e 74 20 74 68 |unction |isint th|
|000028f0| 69 6e 67 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ing.repe|at with |
|00002900| 69 20 3d 20 31 20 74 6f | 20 6e 75 6d 62 65 72 20 |i = 1 to| number |
|00002910| 6f 66 20 63 68 61 72 73 | 20 69 6e 20 74 68 69 6e |of chars| in thin|
|00002920| 67 0d 69 66 20 63 68 61 | 72 20 69 20 6f 66 20 74 |g.if cha|r i of t|
|00002930| 68 69 6e 67 20 69 73 20 | 6e 6f 74 20 69 6e 20 22 |hing is |not in "|
|00002940| 30 31 32 33 34 35 36 37 | 38 39 22 20 74 68 65 6e |01234567|89" then|
|00002950| 20 72 65 74 75 72 6e 20 | 66 61 6c 73 65 0d 65 6e | return |false.en|
|00002960| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00002970| 74 72 75 65 0d 65 6e 64 | 20 69 73 69 6e 74 0d 66 |true.end| isint.f|
|00002980| 75 6e 63 74 69 6f 6e 20 | 76 61 6c 69 64 53 74 61 |unction |validSta|
|00002990| 74 65 20 73 74 61 74 65 | 0d 67 6c 6f 62 61 6c 20 |te state|.global |
|000029a0| 73 74 61 74 65 73 0d 69 | 66 20 73 74 61 74 65 20 |states.i|f state |
|000029b0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 72 65 |is empty| then re|
|000029c0| 74 75 72 6e 20 66 61 6c | 73 65 0d 69 66 20 6e 75 |turn fal|se.if nu|
|000029d0| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 73 20 69 6e |mber of |chars in|
|000029e0| 20 73 74 61 74 65 20 69 | 73 20 6e 6f 74 20 32 20 | state i|s not 2 |
|000029f0| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 66 61 6c 73 |then ret|urn fals|
|00002a00| 65 0d 69 66 20 73 74 61 | 74 65 20 63 6f 6e 74 61 |e.if sta|te conta|
|00002a10| 69 6e 73 20 22 2c 22 20 | 74 68 65 6e 20 72 65 74 |ins "," |then ret|
|00002a20| 75 72 6e 20 66 61 6c 73 | 65 0d 69 66 20 73 74 61 |urn fals|e.if sta|
|00002a30| 74 65 20 69 73 20 69 6e | 20 73 74 61 74 65 73 20 |te is in| states |
|00002a40| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 74 72 75 65 |then ret|urn true|
|00002a50| 0d 72 65 74 75 72 6e 20 | 66 61 6c 73 65 0d 65 6e |.return |false.en|
|00002a60| 64 20 76 61 6c 69 64 53 | 74 61 74 65 0d 6f 6e 20 |d validS|tate.on |
|00002a70| 63 61 6c 63 42 69 6c 6c | 54 6f 0d 67 6c 6f 62 61 |calcBill|To.globa|
|00002a80| 6c 20 42 69 6c 6c 54 6f | 4e 61 6d 65 0d 67 6c 6f |l BillTo|Name.glo|
|00002a90| 62 61 6c 20 42 69 6c 6c | 54 6f 41 64 64 72 0d 67 |bal Bill|ToAddr.g|
|00002aa0| 6c 6f 62 61 6c 20 42 69 | 6c 6c 54 6f 43 69 74 79 |lobal Bi|llToCity|
|00002ab0| 0d 67 6c 6f 62 61 6c 20 | 42 69 6c 6c 54 6f 53 74 |.global |BillToSt|
|00002ac0| 61 74 65 0d 67 6c 6f 62 | 61 6c 20 42 69 6c 6c 54 |ate.glob|al BillT|
|00002ad0| 6f 5a 49 50 0d 67 6c 6f | 62 61 6c 20 42 69 6c 6c |oZIP.glo|bal Bill|
|00002ae0| 54 6f 41 74 74 6e 0d 67 | 6c 6f 62 61 6c 20 42 69 |ToAttn.g|lobal Bi|
|00002af0| 6c 6c 54 6f 50 68 6f 6e | 65 0d 67 6c 6f 62 61 6c |llToPhon|e.global|
|00002b00| 20 42 69 6c 6c 54 6f 0d | 67 65 74 20 65 6d 70 74 | BillTo.|get empt|
|00002b10| 79 0d 67 65 74 20 69 74 | 20 26 20 42 69 6c 6c 54 |y.get it| & BillT|
|00002b20| 6f 4e 61 6d 65 0d 69 66 | 20 69 74 20 69 73 20 6e |oName.if| it is n|
|00002b30| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 67 65 |ot empty| then ge|
|00002b40| 74 20 69 74 20 26 20 72 | 65 74 75 72 6e 0d 67 65 |t it & r|eturn.ge|
|00002b50| 74 20 69 74 20 26 20 42 | 69 6c 6c 54 6f 41 74 74 |t it & B|illToAtt|
|00002b60| 6e 0d 69 66 20 6c 61 73 | 74 20 63 68 61 72 20 6f |n.if las|t char o|
|00002b70| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 72 65 74 75 |f it is |not retu|
|00002b80| 72 6e 20 74 68 65 6e 20 | 67 65 74 20 69 74 20 26 |rn then |get it &|
|00002b90| 20 72 65 74 75 72 6e 0d | 67 65 74 20 69 74 20 26 | return.|get it &|
|00002ba0| 20 62 69 6c 6c 54 6f 41 | 64 64 72 0d 67 65 74 20 | billToA|ddr.get |
|00002bb0| 69 74 20 26 20 72 65 74 | 75 72 6e 20 26 20 42 69 |it & ret|urn & Bi|
|00002bc0| 6c 6c 54 6f 43 69 74 79 | 0d 67 65 74 20 69 74 20 |llToCity|.get it |
|00002bd0| 26 20 22 2c 22 20 26 26 | 20 42 69 6c 6c 54 6f 53 |& "," &&| BillToS|
|00002be0| 74 61 74 65 0d 67 65 74 | 20 69 74 20 26 20 22 20 |tate.get| it & " |
|00002bf0| 20 22 20 26 20 42 69 6c | 6c 54 6f 5a 49 50 0d 67 | " & Bil|lToZIP.g|
|00002c00| 65 74 20 69 74 20 26 20 | 72 65 74 75 72 6e 20 26 |et it & |return &|
|00002c10| 20 22 50 68 6f 6e 65 3a | 20 22 20 26 20 42 69 6c | "Phone:| " & Bil|
|00002c20| 6c 54 6f 50 68 6f 6e 65 | 0d 70 75 74 20 69 74 20 |lToPhone|.put it |
|00002c30| 69 6e 74 6f 20 42 69 6c | 6c 54 6f 0d 65 6e 64 20 |into Bil|lTo.end |
|00002c40| 63 61 6c 63 42 69 6c 6c | 54 6f 0d 6f 6e 20 63 61 |calcBill|To.on ca|
|00002c50| 6c 63 53 68 69 70 54 6f | 0d 67 6c 6f 62 61 6c 20 |lcShipTo|.global |
|00002c60| 53 68 69 70 54 6f 4e 61 | 6d 65 0d 67 6c 6f 62 61 |ShipToNa|me.globa|
|00002c70| 6c 20 53 68 69 70 54 6f | 41 64 64 72 0d 67 6c 6f |l ShipTo|Addr.glo|
|00002c80| 62 61 6c 20 53 68 69 70 | 54 6f 43 69 74 79 0d 67 |bal Ship|ToCity.g|
|00002c90| 6c 6f 62 61 6c 20 53 68 | 69 70 54 6f 53 74 61 74 |lobal Sh|ipToStat|
|00002ca0| 65 0d 67 6c 6f 62 61 6c | 20 53 68 69 70 54 6f 5a |e.global| ShipToZ|
|00002cb0| 49 50 0d 67 6c 6f 62 61 | 6c 20 53 68 69 70 54 6f |IP.globa|l ShipTo|
|00002cc0| 41 74 74 6e 0d 67 6c 6f | 62 61 6c 20 53 68 69 70 |Attn.glo|bal Ship|
|00002cd0| 54 6f 50 68 6f 6e 65 0d | 67 6c 6f 62 61 6c 20 53 |ToPhone.|global S|
|00002ce0| 68 69 70 54 6f 0d 0d 67 | 65 74 20 65 6d 70 74 79 |hipTo..g|et empty|
|00002cf0| 0d 67 65 74 20 69 74 20 | 26 20 53 68 69 70 54 6f |.get it |& ShipTo|
|00002d00| 4e 61 6d 65 0d 69 66 20 | 69 74 20 69 73 20 6e 6f |Name.if |it is no|
|00002d10| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 67 65 74 |t empty |then get|
|00002d20| 20 69 74 20 26 20 72 65 | 74 75 72 6e 0d 67 65 74 | it & re|turn.get|
|00002d30| 20 69 74 20 26 20 53 68 | 69 70 54 6f 41 74 74 6e | it & Sh|ipToAttn|
|00002d40| 0d 69 66 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |.if last| char of|
|00002d50| 20 69 74 20 69 73 20 6e | 6f 74 20 72 65 74 75 72 | it is n|ot retur|
|00002d60| 6e 20 74 68 65 6e 20 67 | 65 74 20 69 74 20 26 20 |n then g|et it & |
|00002d70| 72 65 74 75 72 6e 0d 67 | 65 74 20 69 74 20 26 20 |return.g|et it & |
|00002d80| 53 68 69 70 54 6f 41 64 | 64 72 0d 67 65 74 20 69 |ShipToAd|dr.get i|
|00002d90| 74 20 26 20 72 65 74 75 | 72 6e 20 26 20 53 68 69 |t & retu|rn & Shi|
|00002da0| 70 54 6f 43 69 74 79 0d | 67 65 74 20 69 74 20 26 |pToCity.|get it &|
|00002db0| 20 22 2c 22 20 26 26 20 | 53 68 69 70 54 6f 53 74 | "," && |ShipToSt|
|00002dc0| 61 74 65 0d 67 65 74 20 | 69 74 20 26 20 22 20 20 |ate.get |it & " |
|00002dd0| 22 20 26 20 53 68 69 70 | 54 6f 5a 49 50 0d 67 65 |" & Ship|ToZIP.ge|
|00002de0| 74 20 69 74 20 26 20 72 | 65 74 75 72 6e 20 26 20 |t it & r|eturn & |
|00002df0| 22 50 68 6f 6e 65 3a 20 | 22 20 26 20 53 68 69 70 |"Phone: |" & Ship|
|00002e00| 54 6f 50 68 6f 6e 65 0d | 70 75 74 20 69 74 20 69 |ToPhone.|put it i|
|00002e10| 6e 74 6f 20 53 68 69 70 | 54 6f 0d 65 6e 64 20 63 |nto Ship|To.end c|
|00002e20| 61 6c 63 53 68 69 70 54 | 6f 0d 6f 6e 20 6e 65 77 |alcShipT|o.on new|
|00002e30| 49 74 65 6d 20 6e 65 77 | 49 74 65 6d 4e 6f 0d 67 |Item new|ItemNo.g|
|00002e40| 6c 6f 62 61 6c 20 49 74 | 65 6d 49 44 0d 2d 2d 20 |lobal It|emID.-- |
|00002e50| 20 67 6c 6f 62 61 6c 20 | 43 75 73 74 49 44 2c 20 | global |CustID, |
|00002e60| 54 69 6d 65 53 74 61 6d | 70 20 2d 2d 20 73 65 74 |TimeStam|p -- set|
|00002e70| 20 61 74 20 73 61 76 65 | 49 74 65 6d 20 74 69 6d | at save|Item tim|
|00002e80| 65 0d 67 6c 6f 62 61 6c | 20 49 74 65 6d 4e 6f 2c |e.global| ItemNo,|
|00002e90| 20 51 75 61 6e 2c 20 50 | 72 69 63 65 0d 67 6c 6f | Quan, P|rice.glo|
|00002ea0| 62 61 6c 20 46 6c 61 74 | 43 68 61 72 67 65 0d 67 |bal Flat|Charge.g|
|00002eb0| 6c 6f 62 61 6c 20 44 65 | 66 61 75 6c 74 4c 6f 67 |lobal De|faultLog|
|00002ec0| 6f 0d 67 6c 6f 62 61 6c | 20 44 65 66 61 75 6c 74 |o.global| Default|
|00002ed0| 54 79 70 65 53 74 79 6c | 65 0d 67 6c 6f 62 61 6c |TypeStyl|e.global|
|00002ee0| 20 44 65 66 61 75 6c 74 | 44 65 73 69 67 6e 0d 67 | Default|Design.g|
|00002ef0| 6c 6f 62 61 6c 20 44 65 | 73 69 67 6e 2c 20 54 79 |lobal De|sign, Ty|
|00002f00| 70 65 53 74 79 6c 65 0d | 67 6c 6f 62 61 6c 20 4c |peStyle.|global L|
|00002f10| 6f 67 6f 46 69 6c 65 2c | 20 41 72 74 57 6f 72 6b |ogoFile,| ArtWork|
|00002f20| 46 69 6c 65 0d 0d 6c 6f | 63 6b 20 73 63 72 65 65 |File..lo|ck scree|
|00002f30| 6e 0d 63 6c 65 61 72 49 | 74 65 6d 0d 67 65 74 50 |n.clearI|tem.getP|
|00002f40| 72 69 63 69 6e 67 20 6e | 65 77 49 74 65 6d 4e 6f |ricing n|ewItemNo|
|00002f50| 0d 2d 2d 20 70 75 74 20 | 6e 65 77 49 74 65 6d 4e |.-- put |newItemN|
|00002f60| 6f 20 69 6e 74 6f 20 49 | 74 65 6d 4e 6f 0d 67 6c |o into I|temNo.gl|
|00002f70| 6f 62 61 6c 20 45 6e 74 | 65 72 65 64 31 2c 20 45 |obal Ent|ered1, E|
|00002f80| 6e 74 65 72 65 64 32 2c | 20 45 6e 74 65 72 65 64 |ntered2,| Entered|
|00002f90| 33 2c 20 45 6e 74 65 72 | 65 64 34 0d 67 6c 6f 62 |3, Enter|ed4.glob|
|00002fa0| 61 6c 20 43 68 61 6e 67 | 65 64 2c 20 73 61 76 65 |al Chang|ed, save|
|00002fb0| 64 0d 67 6c 6f 62 61 6c | 20 76 61 6c 69 64 61 74 |d.global| validat|
|00002fc0| 65 64 0d 67 6c 6f 62 61 | 6c 20 70 72 69 6e 74 65 |ed.globa|l printe|
|00002fd0| 64 0d 67 6c 6f 62 61 6c | 20 75 70 64 61 74 65 64 |d.global| updated|
|00002fe0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00002ff0| 65 6e 74 65 72 65 64 31 | 0d 70 75 74 20 66 61 6c |entered1|.put fal|
|00003000| 73 65 20 69 6e 74 6f 20 | 65 6e 74 65 72 65 64 32 |se into |entered2|
|00003010| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00003020| 65 6e 74 65 72 65 64 33 | 0d 70 75 74 20 66 61 6c |entered3|.put fal|
|00003030| 73 65 20 69 6e 74 6f 20 | 65 6e 74 65 72 65 64 34 |se into |entered4|
|00003040| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 63 |.put tru|e into c|
|00003050| 68 61 6e 67 65 64 0d 70 | 75 74 20 66 61 6c 73 65 |hanged.p|ut false|
|00003060| 20 69 6e 74 6f 20 73 61 | 76 65 64 0d 70 75 74 20 | into sa|ved.put |
|00003070| 66 61 6c 73 65 20 69 6e | 74 6f 20 76 61 6c 69 64 |false in|to valid|
|00003080| 61 74 65 64 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |ated.put| false i|
|00003090| 6e 74 6f 20 70 72 69 6e | 74 65 64 0d 70 75 74 20 |nto prin|ted.put |
|000030a0| 66 61 6c 73 65 20 69 6e | 74 6f 20 75 70 64 61 74 |false in|to updat|
|000030b0| 65 64 0d 2d 2d 20 70 75 | 74 20 46 6c 61 74 43 68 |ed.-- pu|t FlatCh|
|000030c0| 61 72 67 65 20 69 6e 74 | 6f 20 50 72 69 63 65 0d |arge int|o Price.|
|000030d0| 65 6e 64 20 6e 65 77 49 | 74 65 6d 0d 0d 6f 6e 20 |end newI|tem..on |
|000030e0| 63 6c 65 61 72 49 74 65 | 6d 0d 67 6c 6f 62 61 6c |clearIte|m.global|
|000030f0| 20 49 74 65 6d 49 44 0d | 2d 2d 20 20 67 6c 6f 62 | ItemID.|-- glob|
|00003100| 61 6c 20 43 75 73 74 49 | 44 2c 20 54 69 6d 65 53 |al CustI|D, TimeS|
|00003110| 74 61 6d 70 20 2d 2d 20 | 73 65 74 20 61 74 20 73 |tamp -- |set at s|
|00003120| 61 76 65 49 74 65 6d 20 | 74 69 6d 65 0d 67 6c 6f |aveItem |time.glo|
|00003130| 62 61 6c 20 49 74 65 6d | 4e 6f 2c 20 51 75 61 6e |bal Item|No, Quan|
|00003140| 2c 20 50 72 69 63 65 0d | 67 6c 6f 62 61 6c 20 44 |, Price.|global D|
|00003150| 65 73 63 72 0d 67 6c 6f | 62 61 6c 20 44 65 73 69 |escr.glo|bal Desi|
|00003160| 67 6e 2c 20 54 79 70 65 | 53 74 79 6c 65 0d 67 6c |gn, Type|Style.gl|
|00003170| 6f 62 61 6c 20 4c 6f 67 | 6f 46 69 6c 65 2c 20 41 |obal Log|oFile, A|
|00003180| 72 74 57 6f 72 6b 46 69 | 6c 65 0d 67 6c 6f 62 61 |rtWorkFi|le.globa|
|00003190| 6c 20 4e 75 6d 50 6c 69 | 65 73 2c 20 53 74 61 72 |l NumPli|es, Star|
|000031a0| 74 4e 75 6d 0d 67 6c 6f | 62 61 6c 20 50 61 70 65 |tNum.glo|bal Pape|
|000031b0| 72 6b 69 6e 64 2c 20 50 | 61 70 65 72 43 6f 6c 6f |rkind, P|aperColo|
|000031c0| 72 0d 67 6c 6f 62 61 6c | 20 46 6f 72 65 49 6e 6b |r.global| ForeInk|
|000031d0| 43 6f 6c 6f 72 2c 20 42 | 61 63 6b 49 6e 6b 43 6f |Color, B|ackInkCo|
|000031e0| 6c 6f 72 0d 67 6c 6f 62 | 61 6c 20 54 65 78 74 31 |lor.glob|al Text1|
|000031f0| 2c 20 54 65 78 74 32 2c | 20 54 65 78 74 33 2c 20 |, Text2,| Text3, |
|00003200| 54 65 78 74 34 2c 20 54 | 65 78 74 35 0d 67 6c 6f |Text4, T|ext5.glo|
|00003210| 62 61 6c 20 54 65 78 74 | 36 2c 20 54 65 78 74 37 |bal Text|6, Text7|
|00003220| 2c 20 54 65 78 74 38 2c | 20 54 65 78 74 39 2c 20 |, Text8,| Text9, |
|00003230| 54 65 78 74 31 30 0d 67 | 6c 6f 62 61 6c 20 54 65 |Text10.g|lobal Te|
|00003240| 78 74 31 31 2c 20 54 65 | 78 74 31 32 2c 20 54 65 |xt11, Te|xt12, Te|
|00003250| 78 74 31 33 2c 20 54 65 | 78 74 31 34 2c 20 54 65 |xt13, Te|xt14, Te|
|00003260| 78 74 31 35 0d 67 6c 6f | 62 61 6c 20 54 65 78 74 |xt15.glo|bal Text|
|00003270| 31 36 2c 20 54 65 78 74 | 31 37 2c 20 54 65 78 74 |16, Text|17, Text|
|00003280| 31 38 2c 20 54 65 78 74 | 31 39 2c 20 54 65 78 74 |18, Text|19, Text|
|00003290| 32 30 0d 67 6c 6f 62 61 | 6c 20 54 65 78 74 32 31 |20.globa|l Text21|
|000032a0| 2c 20 54 65 78 74 32 32 | 0d 67 6c 6f 62 61 6c 20 |, Text22|.global |
|000032b0| 44 65 66 61 75 6c 74 4c | 6f 67 6f 0d 67 6c 6f 62 |DefaultL|ogo.glob|
|000032c0| 61 6c 20 44 65 66 61 75 | 6c 74 54 79 70 65 53 74 |al Defau|ltTypeSt|
|000032d0| 79 6c 65 0d 67 6c 6f 62 | 61 6c 20 44 65 66 61 75 |yle.glob|al Defau|
|000032e0| 6c 74 44 65 73 69 67 6e | 0d 0d 67 6c 6f 62 61 6c |ltDesign|..global|
|000032f0| 20 46 6c 61 74 43 68 61 | 72 67 65 0d 70 75 74 20 | FlatCha|rge.put |
|00003300| 65 6d 70 74 79 20 69 6e | 74 6f 20 49 74 65 6d 49 |empty in|to ItemI|
|00003310| 44 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |D.put em|pty into|
|00003320| 20 49 74 65 6d 4e 6f 0d | 70 75 74 20 65 6d 70 74 | ItemNo.|put empt|
|00003330| 79 20 69 6e 74 6f 20 51 | 75 61 6e 0d 70 75 74 20 |y into Q|uan.put |
|00003340| 65 6d 70 74 79 20 69 6e | 74 6f 20 50 72 69 63 65 |empty in|to Price|
|00003350| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00003360| 44 65 73 63 72 0d 69 66 | 20 44 65 66 61 75 6c 74 |Descr.if| Default|
|00003370| 4c 6f 67 6f 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |Logo is |not empt|
|00003380| 79 20 74 68 65 6e 0d 70 | 75 74 20 44 65 66 61 75 |y then.p|ut Defau|
|00003390| 6c 74 4c 6f 67 6f 20 69 | 6e 74 6f 20 4c 6f 67 6f |ltLogo i|nto Logo|
|000033a0| 46 69 6c 65 0d 65 6c 73 | 65 0d 70 75 74 20 65 6d |File.els|e.put em|
|000033b0| 70 74 79 20 69 6e 74 6f | 20 4c 6f 67 6f 46 69 6c |pty into| LogoFil|
|000033c0| 65 0d 65 6e 64 20 69 66 | 0d 69 66 20 44 65 66 61 |e.end if|.if Defa|
|000033d0| 75 6c 74 54 79 70 65 53 | 74 79 6c 65 20 69 73 20 |ultTypeS|tyle is |
|000033e0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|000033f0| 75 74 20 44 65 66 61 75 | 6c 74 54 79 70 65 53 74 |ut Defau|ltTypeSt|
|00003400| 79 6c 65 20 69 6e 74 6f | 20 54 79 70 65 53 74 79 |yle into| TypeSty|
|00003410| 6c 65 0d 65 6c 73 65 0d | 70 75 74 20 22 44 22 20 |le.else.|put "D" |
|00003420| 69 6e 74 6f 20 54 79 70 | 65 53 74 79 6c 65 0d 65 |into Typ|eStyle.e|
|00003430| 6e 64 20 69 66 0d 2d 2d | 20 20 70 75 74 20 44 65 |nd if.--| put De|
|00003440| 66 61 75 6c 74 44 65 73 | 69 67 6e 20 69 6e 74 6f |faultDes|ign into|
|00003450| 20 44 65 73 69 67 6e 0d | 70 75 74 20 22 31 22 20 | Design.|put "1" |
|00003460| 69 6e 74 6f 20 44 65 73 | 69 67 6e 0d 70 75 74 20 |into Des|ign.put |
|00003470| 65 6d 70 74 79 20 69 6e | 74 6f 20 41 72 74 77 6f |empty in|to Artwo|
|00003480| 72 6b 46 69 6c 65 0d 70 | 75 74 20 31 20 69 6e 74 |rkFile.p|ut 1 int|
|00003490| 6f 20 4e 75 6d 50 6c 69 | 65 73 0d 70 75 74 20 65 |o NumPli|es.put e|
|000034a0| 6d 70 74 79 20 69 6e 74 | 6f 20 53 74 61 72 74 4e |mpty int|o StartN|
|000034b0| 75 6d 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |um.put e|mpty int|
|000034c0| 6f 20 50 61 70 65 72 4b | 69 6e 64 0d 70 75 74 20 |o PaperK|ind.put |
|000034d0| 65 6d 70 74 79 20 69 6e | 74 6f 20 50 61 70 65 72 |empty in|to Paper|
|000034e0| 43 6f 6c 6f 72 0d 70 75 | 74 20 65 6d 70 74 79 20 |Color.pu|t empty |
|000034f0| 69 6e 74 6f 20 46 6f 72 | 65 49 6e 6b 43 6f 6c 6f |into For|eInkColo|
|00003500| 72 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |r.put em|pty into|
|00003510| 20 42 61 63 6b 49 6e 6b | 43 6f 6c 6f 72 0d 0d 73 | BackInk|Color..s|
|00003520| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 46 6f 72 |et the n|umberFor|
|00003530| 6d 61 74 20 74 6f 20 22 | 30 2e 23 23 23 23 23 23 |mat to "|0.######|
|00003540| 22 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |".repeat| with i |
|00003550| 3d 20 31 20 74 6f 20 32 | 32 0d 64 6f 20 22 70 75 |= 1 to 2|2.do "pu|
|00003560| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 54 65 78 |t empty |into Tex|
|00003570| 74 22 26 69 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |t"&i.end| repeat.|
|00003580| 65 6e 64 20 63 6c 65 61 | 72 49 74 65 6d 0d 0d 6f |end clea|rItem..o|
|00003590| 6e 20 6f 6c 64 49 74 65 | 6d 20 6f 6c 64 49 74 65 |n oldIte|m oldIte|
|000035a0| 6d 4e 6f 2c 20 6f 6c 64 | 49 74 65 6d 49 44 0d 67 |mNo, old|ItemID.g|
|000035b0| 6c 6f 62 61 6c 20 49 74 | 65 6d 49 44 0d 67 6c 6f |lobal It|emID.glo|
|000035c0| 62 61 6c 20 43 75 73 74 | 49 44 2c 20 54 69 6d 65 |bal Cust|ID, Time|
|000035d0| 53 74 61 6d 70 0d 67 6c | 6f 62 61 6c 20 49 74 65 |Stamp.gl|obal Ite|
|000035e0| 6d 4e 6f 2c 20 51 75 61 | 6e 2c 20 50 72 69 63 65 |mNo, Qua|n, Price|
|000035f0| 0d 67 6c 6f 62 61 6c 20 | 44 65 73 63 72 0d 67 6c |.global |Descr.gl|
|00003600| 6f 62 61 6c 20 44 65 73 | 69 67 6e 2c 20 54 79 70 |obal Des|ign, Typ|
|00003610| 65 53 74 79 6c 65 0d 67 | 6c 6f 62 61 6c 20 4c 6f |eStyle.g|lobal Lo|
|00003620| 67 6f 46 69 6c 65 2c 20 | 41 72 74 57 6f 72 6b 46 |goFile, |ArtWorkF|
|00003630| 69 6c 65 0d 67 6c 6f 62 | 61 6c 20 4e 75 6d 50 6c |ile.glob|al NumPl|
|00003640| 69 65 73 2c 20 53 74 61 | 72 74 4e 75 6d 0d 67 6c |ies, Sta|rtNum.gl|
|00003650| 6f 62 61 6c 20 50 61 70 | 65 72 6b 69 6e 64 2c 20 |obal Pap|erkind, |
|00003660| 50 61 70 65 72 43 6f 6c | 6f 72 0d 67 6c 6f 62 61 |PaperCol|or.globa|
|00003670| 6c 20 46 6f 72 65 49 6e | 6b 43 6f 6c 6f 72 2c 20 |l ForeIn|kColor, |
|00003680| 42 61 63 6b 49 6e 6b 43 | 6f 6c 6f 72 0d 67 6c 6f |BackInkC|olor.glo|
|00003690| 62 61 6c 20 54 65 78 74 | 31 2c 20 54 65 78 74 32 |bal Text|1, Text2|
|000036a0| 2c 20 54 65 78 74 33 2c | 20 54 65 78 74 34 2c 20 |, Text3,| Text4, |
|000036b0| 54 65 78 74 35 0d 67 6c | 6f 62 61 6c 20 54 65 78 |Text5.gl|obal Tex|
|000036c0| 74 36 2c 20 54 65 78 74 | 37 2c 20 54 65 78 74 38 |t6, Text|7, Text8|
|000036d0| 2c 20 54 65 78 74 39 2c | 20 54 65 78 74 31 30 0d |, Text9,| Text10.|
|000036e0| 67 6c 6f 62 61 6c 20 54 | 65 78 74 31 31 2c 20 54 |global T|ext11, T|
|000036f0| 65 78 74 31 32 2c 20 54 | 65 78 74 31 33 2c 20 54 |ext12, T|ext13, T|
|00003700| 65 78 74 31 34 2c 20 54 | 65 78 74 31 35 0d 67 6c |ext14, T|ext15.gl|
|00003710| 6f 62 61 6c 20 54 65 78 | 74 31 36 2c 20 54 65 78 |obal Tex|t16, Tex|
|00003720| 74 31 37 2c 20 54 65 78 | 74 31 38 2c 20 54 65 78 |t17, Tex|t18, Tex|
|00003730| 74 31 39 2c 20 54 65 78 | 74 32 30 0d 67 6c 6f 62 |t19, Tex|t20.glob|
|00003740| 61 6c 20 54 65 78 74 32 | 31 2c 20 54 65 78 74 32 |al Text2|1, Text2|
|00003750| 32 0d 67 6c 6f 62 61 6c | 20 43 75 72 72 65 6e 74 |2.global| Current|
|00003760| 49 74 65 6d 0d 0d 6c 6f | 61 64 49 74 65 6d 20 6f |Item..lo|adItem o|
|00003770| 6c 64 49 74 65 6d 49 44 | 0d 70 75 74 20 6f 6c 64 |ldItemID|.put old|
|00003780| 49 74 65 6d 49 44 20 69 | 6e 74 6f 20 49 74 65 6d |ItemID i|nto Item|
|00003790| 49 44 0d 0d 67 72 61 62 | 20 22 51 75 61 6e 22 0d |ID..grab| "Quan".|
|000037a0| 67 72 61 62 20 22 44 65 | 73 69 67 6e 22 0d 67 72 |grab "De|sign".gr|
|000037b0| 61 62 20 22 54 79 70 65 | 53 74 79 6c 65 22 0d 67 |ab "Type|Style".g|
|000037c0| 72 61 62 20 22 4c 6f 67 | 6f 46 69 6c 65 22 0d 67 |rab "Log|oFile".g|
|000037d0| 72 61 62 20 22 41 72 74 | 57 6f 72 6b 46 69 6c 65 |rab "Art|WorkFile|
|000037e0| 22 0d 67 72 61 62 20 22 | 4e 75 6d 50 6c 69 65 73 |".grab "|NumPlies|
|000037f0| 22 0d 67 72 61 62 20 22 | 53 74 61 72 74 4e 75 6d |".grab "|StartNum|
|00003800| 22 0d 67 72 61 62 20 22 | 50 61 70 65 72 4b 69 6e |".grab "|PaperKin|
|00003810| 64 22 0d 67 72 61 62 20 | 22 50 61 70 65 72 43 6f |d".grab |"PaperCo|
|00003820| 6c 6f 72 22 0d 67 72 61 | 62 20 22 46 6f 72 65 49 |lor".gra|b "ForeI|
|00003830| 6e 6b 43 6f 6c 6f 72 22 | 0d 67 72 61 62 20 22 42 |nkColor"|.grab "B|
|00003840| 61 63 6b 49 6e 6b 43 6f | 6c 6f 72 22 0d 0d 73 65 |ackInkCo|lor"..se|
|00003850| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 46 6f 72 6d |t the nu|mberForm|
|00003860| 61 74 20 74 6f 20 22 30 | 2e 23 23 23 23 23 23 22 |at to "0|.######"|
|00003870| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00003880| 20 31 20 74 6f 20 32 32 | 0d 64 6f 20 22 67 72 61 | 1 to 22|.do "gra|
|00003890| 62 20 22 26 71 75 6f 74 | 65 26 22 54 65 78 74 22 |b "&quot|e&"Text"|
|000038a0| 26 69 26 71 75 6f 74 65 | 0d 65 6e 64 20 72 65 70 |&i&quote|.end rep|
|000038b0| 65 61 74 0d 0d 67 6c 6f | 62 61 6c 20 45 6e 74 65 |eat..glo|bal Ente|
|000038c0| 72 65 64 31 2c 20 45 6e | 74 65 72 65 64 32 2c 20 |red1, En|tered2, |
|000038d0| 45 6e 74 65 72 65 64 33 | 2c 20 45 6e 74 65 72 65 |Entered3|, Entere|
|000038e0| 64 34 0d 67 6c 6f 62 61 | 6c 20 43 68 61 6e 67 65 |d4.globa|l Change|
|000038f0| 64 2c 20 73 61 76 65 64 | 0d 67 6c 6f 62 61 6c 20 |d, saved|.global |
|00003900| 76 61 6c 69 64 61 74 65 | 64 0d 67 6c 6f 62 61 6c |validate|d.global|
|00003910| 20 70 72 69 6e 74 65 64 | 0d 67 6c 6f 62 61 6c 20 | printed|.global |
|00003920| 75 70 64 61 74 65 64 0d | 70 75 74 20 74 72 75 65 |updated.|put true|
|00003930| 20 69 6e 74 6f 20 65 6e | 74 65 72 65 64 31 0d 70 | into en|tered1.p|
|00003940| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 65 6e 74 |ut true |into ent|
|00003950| 65 72 65 64 32 0d 70 75 | 74 20 74 72 75 65 20 69 |ered2.pu|t true i|
|00003960| 6e 74 6f 20 65 6e 74 65 | 72 65 64 33 0d 70 75 74 |nto ente|red3.put|
|00003970| 20 74 72 75 65 20 69 6e | 74 6f 20 65 6e 74 65 72 | true in|to enter|
|00003980| 65 64 34 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |ed4.put |false in|
|00003990| 74 6f 20 63 68 61 6e 67 | 65 64 0d 70 75 74 20 74 |to chang|ed.put t|
|000039a0| 72 75 65 20 69 6e 74 6f | 20 73 61 76 65 64 0d 70 |rue into| saved.p|
|000039b0| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 70 72 69 |ut true |into pri|
|000039c0| 6e 74 65 64 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |nted.put| false i|
|000039d0| 6e 74 6f 20 75 70 64 61 | 74 65 64 0d 0d 67 65 74 |nto upda|ted..get|
|000039e0| 50 72 69 63 69 6e 67 20 | 6f 6c 64 49 74 65 6d 4e |Pricing |oldItemN|
|000039f0| 6f 0d 65 6e 64 20 6f 6c | 64 49 74 65 6d 0d 0d 6f |o.end ol|dItem..o|
|00003a00| 6e 20 6c 6f 61 64 49 74 | 65 6d 20 49 44 74 6f 4c |n loadIt|em IDtoL|
|00003a10| 6f 61 64 0d 67 6c 6f 62 | 61 6c 20 49 74 65 6d 73 |oad.glob|al Items|
|00003a20| 44 65 74 61 69 6c 2c 43 | 75 72 72 65 6e 74 49 74 |Detail,C|urrentIt|
|00003a30| 65 6d 0d 70 75 74 20 6c | 65 6e 67 74 68 28 49 74 |em.put l|ength(It|
|00003a40| 65 6d 73 44 65 74 61 69 | 6c 29 20 69 6e 74 6f 20 |emsDetai|l) into |
|00003a50| 73 74 72 6c 65 6e 0d 67 | 65 74 20 6f 66 66 73 65 |strlen.g|et offse|
|00003a60| 74 28 22 a4 49 74 65 6d | 49 44 3a 22 26 26 49 44 |t(".Item|ID:"&&ID|
|00003a70| 74 6f 4c 6f 61 64 2c 49 | 74 65 6d 73 44 65 74 61 |toLoad,I|temsDeta|
|00003a80| 69 6c 29 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |il).put |it into |
|00003a90| 73 74 61 72 74 0d 67 65 | 74 20 6f 66 66 73 65 74 |start.ge|t offset|
|00003aa0| 28 22 a4 49 74 65 6d 49 | 44 3a 20 22 2c 20 63 68 |(".ItemI|D: ", ch|
|00003ab0| 61 72 20 73 74 61 72 74 | 2b 31 20 74 6f 20 73 74 |ar start|+1 to st|
|00003ac0| 72 6c 65 6e 20 6f 66 20 | 49 74 65 6d 73 44 65 74 |rlen of |ItemsDet|
|00003ad0| 61 69 6c 29 0d 69 66 20 | 69 74 20 69 73 20 30 20 |ail).if |it is 0 |
|00003ae0| 74 68 65 6e 20 67 65 74 | 20 73 74 72 6c 65 6e 0d |then get| strlen.|
|00003af0| 65 6c 73 65 20 67 65 74 | 20 69 74 20 2b 20 73 74 |else get| it + st|
|00003b00| 61 72 74 20 2b 20 31 20 | 2d 20 33 0d 70 75 74 20 |art + 1 |- 3.put |
|00003b10| 69 74 20 69 6e 74 6f 20 | 66 69 6e 69 73 68 0d 70 |it into |finish.p|
|00003b20| 75 74 20 63 68 61 72 20 | 73 74 61 72 74 20 74 6f |ut char |start to|
|00003b30| 20 66 69 6e 69 73 68 20 | 6f 66 20 49 74 65 6d 73 | finish |of Items|
|00003b40| 44 65 74 61 69 6c 20 69 | 6e 74 6f 20 43 75 72 72 |Detail i|nto Curr|
|00003b50| 65 6e 74 49 74 65 6d 0d | 65 6e 64 20 6c 6f 61 64 |entItem.|end load|
|00003b60| 49 74 65 6d 0d 0d 6f 6e | 20 67 72 61 62 20 77 68 |Item..on| grab wh|
|00003b70| 61 74 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |at.set c|ursor to|
|00003b80| 20 62 75 73 79 0d 67 6c | 6f 62 61 6c 20 43 75 72 | busy.gl|obal Cur|
|00003b90| 72 65 6e 74 49 74 65 6d | 0d 64 6f 20 22 67 6c 6f |rentItem|.do "glo|
|00003ba0| 62 61 6c 22 26 26 77 68 | 61 74 0d 70 75 74 20 6c |bal"&&wh|at.put l|
|00003bb0| 65 6e 67 74 68 28 43 75 | 72 72 65 6e 74 49 74 65 |ength(Cu|rrentIte|
|00003bc0| 6d 29 20 69 6e 74 6f 20 | 73 74 72 6c 65 6e 0d 67 |m) into |strlen.g|
|00003bd0| 65 74 20 6f 66 66 73 65 | 74 28 22 a4 22 26 77 68 |et offse|t("."&wh|
|00003be0| 61 74 26 22 3a 20 22 2c | 20 43 75 72 72 65 6e 74 |at&": ",| Current|
|00003bf0| 49 74 65 6d 29 0d 69 66 | 20 69 74 20 69 73 20 30 |Item).if| it is 0|
|00003c00| 20 74 68 65 6e 0d 64 6f | 20 22 70 75 74 20 65 6d | then.do| "put em|
|00003c10| 70 74 79 20 69 6e 74 6f | 22 26 26 77 68 61 74 0d |pty into|"&&what.|
|00003c20| 65 78 69 74 20 67 72 61 | 62 0d 65 6e 64 20 69 66 |exit gra|b.end if|
|00003c30| 0d 70 75 74 20 69 74 20 | 2b 20 6c 65 6e 67 74 68 |.put it |+ length|
|00003c40| 28 77 68 61 74 29 20 2b | 20 33 20 69 6e 74 6f 20 |(what) +| 3 into |
|00003c50| 73 74 61 72 74 0d 67 65 | 74 20 6f 66 66 73 65 74 |start.ge|t offset|
|00003c60| 28 72 65 74 75 72 6e 20 | 26 20 22 a4 22 2c 20 63 |(return |& ".", c|
|00003c70| 68 61 72 20 73 74 61 72 | 74 20 74 6f 20 73 74 72 |har star|t to str|
|00003c80| 6c 65 6e 20 6f 66 20 43 | 75 72 72 65 6e 74 49 74 |len of C|urrentIt|
|00003c90| 65 6d 29 0d 69 66 20 69 | 74 20 69 73 20 30 20 74 |em).if i|t is 0 t|
|00003ca0| 68 65 6e 20 67 65 74 20 | 73 74 72 6c 65 6e 2d 31 |hen get |strlen-1|
|00003cb0| 20 2d 2d 20 73 6b 69 70 | 20 66 69 6e 61 6c 20 72 | -- skip| final r|
|00003cc0| 65 74 75 72 6e 20 63 68 | 61 72 0d 65 6c 73 65 20 |eturn ch|ar.else |
|00003cd0| 67 65 74 20 69 74 20 2b | 20 73 74 61 72 74 20 2d |get it +| start -|
|00003ce0| 20 32 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 66 | 2.put i|t into f|
|00003cf0| 69 6e 69 73 68 0d 64 6f | 20 22 70 75 74 20 63 68 |inish.do| "put ch|
|00003d00| 61 72 20 73 74 61 72 74 | 20 74 6f 20 66 69 6e 69 |ar start| to fini|
|00003d10| 73 68 20 6f 66 20 43 75 | 72 72 65 6e 74 49 74 65 |sh of Cu|rrentIte|
|00003d20| 6d 20 69 6e 74 6f 22 26 | 26 77 68 61 74 0d 65 6e |m into"&|&what.en|
|00003d30| 64 20 67 72 61 62 0d 0d | 6f 6e 20 4b 69 6c 6c 49 |d grab..|on KillI|
|00003d40| 74 65 6d 20 49 44 74 6f | 4b 69 6c 6c 0d 67 6c 6f |tem IDto|Kill.glo|
|00003d50| 62 61 6c 20 49 74 65 6d | 73 44 65 74 61 69 6c 0d |bal Item|sDetail.|
|00003d60| 70 75 74 20 6c 65 6e 67 | 74 68 28 49 74 65 6d 73 |put leng|th(Items|
|00003d70| 44 65 74 61 69 6c 29 20 | 69 6e 74 6f 20 73 74 72 |Detail) |into str|
|00003d80| 6c 65 6e 0d 67 65 74 20 | 6f 66 66 73 65 74 28 22 |len.get |offset("|
|00003d90| a4 49 74 65 6d 49 44 3a | 22 26 26 49 44 74 6f 4b |.ItemID:|"&&IDtoK|
|00003da0| 69 6c 6c 2c 49 74 65 6d | 73 44 65 74 61 69 6c 29 |ill,Item|sDetail)|
|00003db0| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 73 74 61 |.put it |into sta|
|00003dc0| 72 74 0d 67 65 74 20 6f | 66 66 73 65 74 28 22 a4 |rt.get o|ffset(".|
|00003dd0| 49 74 65 6d 49 44 3a 20 | 22 2c 20 63 68 61 72 20 |ItemID: |", char |
|00003de0| 73 74 61 72 74 2b 31 20 | 74 6f 20 73 74 72 6c 65 |start+1 |to strle|
|00003df0| 6e 20 6f 66 20 49 74 65 | 6d 73 44 65 74 61 69 6c |n of Ite|msDetail|
|00003e00| 29 0d 69 66 20 69 74 20 | 69 73 20 30 20 74 68 65 |).if it |is 0 the|
|00003e10| 6e 20 67 65 74 20 73 74 | 72 6c 65 6e 0d 65 6c 73 |n get st|rlen.els|
|00003e20| 65 20 67 65 74 20 69 74 | 20 2b 20 73 74 61 72 74 |e get it| + start|
|00003e30| 20 2d 20 31 0d 70 75 74 | 20 69 74 20 69 6e 74 6f | - 1.put| it into|
|00003e40| 20 66 69 6e 69 73 68 0d | 64 65 6c 65 74 65 20 63 | finish.|delete c|
|00003e50| 68 61 72 20 73 74 61 72 | 74 20 74 6f 20 66 69 6e |har star|t to fin|
|00003e60| 69 73 68 20 6f 66 20 49 | 74 65 6d 73 44 65 74 61 |ish of I|temsDeta|
|00003e70| 69 6c 0d 65 6e 64 20 4b | 69 6c 6c 49 74 65 6d 0d |il.end K|illItem.|
|00003e80| 0d 6f 6e 20 65 64 69 74 | 49 74 65 6d 0d 67 6c 6f |.on edit|Item.glo|
|00003e90| 62 61 6c 20 58 54 65 6d | 70 6c 0d 69 66 20 58 54 |bal XTem|pl.if XT|
|00003ea0| 65 6d 70 6c 20 69 73 20 | 6e 6f 74 20 2d 31 20 74 |empl is |not -1 t|
|00003eb0| 68 65 6e 0d 67 6f 20 74 | 6f 20 63 61 72 64 20 69 |hen.go t|o card i|
|00003ec0| 64 20 58 54 65 6d 70 6c | 0d 47 65 74 49 6e 66 6f |d XTempl|.GetInfo|
|00003ed0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 20 77 |.unlock |screen w|
|00003ee0| 69 74 68 20 76 69 73 75 | 61 6c 20 73 63 72 6f 6c |ith visu|al scrol|
|00003ef0| 6c 20 6c 65 66 74 0d 65 | 6e 64 20 69 66 0d 65 6e |l left.e|nd if.en|
|00003f00| 64 20 65 64 69 74 49 74 | 65 6d 0d 0d 6f 6e 20 67 |d editIt|em..on g|
|00003f10| 65 74 50 72 69 63 69 6e | 67 20 77 68 69 63 68 49 |etPricin|g whichI|
|00003f20| 74 65 6d 4e 6f 0d 67 6c | 6f 62 61 6c 20 52 65 66 |temNo.gl|obal Ref|
|00003f30| 0d 67 6c 6f 62 61 6c 20 | 46 6f 72 6d 48 0d 67 6c |.global |FormH.gl|
|00003f40| 6f 62 61 6c 20 46 6f 72 | 6d 56 0d 67 6c 6f 62 61 |obal For|mV.globa|
|00003f50| 6c 20 49 74 65 6d 4e 6f | 0d 67 6c 6f 62 61 6c 20 |l ItemNo|.global |
|00003f60| 44 65 73 63 72 0d 67 6c | 6f 62 61 6c 20 54 65 6d |Descr.gl|obal Tem|
|00003f70| 70 6c 0d 67 6c 6f 62 61 | 6c 20 58 54 65 6d 70 6c |pl.globa|l XTempl|
|00003f80| 20 2d 2d 20 70 72 69 63 | 69 6e 67 20 74 65 6d 70 | -- pric|ing temp|
|00003f90| 6c 61 74 65 0d 67 6c 6f | 62 61 6c 20 59 54 65 6d |late.glo|bal YTem|
|00003fa0| 70 6c 20 2d 2d 20 64 61 | 74 61 20 63 6f 6c 6c 65 |pl -- da|ta colle|
|00003fb0| 63 74 69 6f 6e 20 74 65 | 6d 70 6c 61 74 65 0d 67 |ction te|mplate.g|
|00003fc0| 6c 6f 62 61 6c 20 46 6c | 61 74 43 68 61 72 67 65 |lobal Fl|atCharge|
|00003fd0| 0d 67 6c 6f 62 61 6c 20 | 53 61 6c 65 73 55 6e 69 |.global |SalesUni|
|00003fe0| 74 0d 67 6c 6f 62 61 6c | 20 44 65 66 50 6c 69 65 |t.global| DefPlie|
|00003ff0| 73 0d 67 6c 6f 62 61 6c | 20 55 6e 69 74 50 72 69 |s.global| UnitPri|
|00004000| 63 65 0d 0d 67 6c 6f 62 | 61 6c 20 49 6e 6b 43 6f |ce..glob|al InkCo|
|00004010| 6c 6f 72 73 0d 0d 67 6c | 6f 62 61 6c 20 53 69 6e |lors..gl|obal Sin|
|00004020| 67 6c 65 43 6f 6c 6f 72 | 73 0d 67 6c 6f 62 61 6c |gleColor|s.global|
|00004030| 20 46 69 72 73 74 43 6f | 6c 6f 72 73 0d 67 6c 6f | FirstCo|lors.glo|
|00004040| 62 61 6c 20 4d 69 64 64 | 6c 65 43 6f 6c 6f 72 73 |bal Midd|leColors|
|00004050| 0d 67 6c 6f 62 61 6c 20 | 4c 61 73 74 43 6f 6c 6f |.global |LastColo|
|00004060| 72 73 0d 0d 67 6c 6f 62 | 61 6c 20 53 69 6e 67 6c |rs..glob|al Singl|
|00004070| 65 57 65 69 67 68 74 73 | 0d 67 6c 6f 62 61 6c 20 |eWeights|.global |
|00004080| 46 69 72 73 74 57 65 69 | 67 68 74 73 0d 67 6c 6f |FirstWei|ghts.glo|
|00004090| 62 61 6c 20 4d 69 64 64 | 6c 65 57 65 69 67 68 74 |bal Midd|leWeight|
|000040a0| 73 0d 67 6c 6f 62 61 6c | 20 4c 61 73 74 57 65 69 |s.global| LastWei|
|000040b0| 67 68 74 73 0d 0d 67 6c | 6f 62 61 6c 20 53 57 50 |ghts..gl|obal SWP|
|000040c0| 72 69 63 65 73 0d 67 6c | 6f 62 61 6c 20 46 57 50 |rices.gl|obal FWP|
|000040d0| 72 69 63 65 73 0d 67 6c | 6f 62 61 6c 20 4d 57 50 |rices.gl|obal MWP|
|000040e0| 72 69 63 65 73 0d 67 6c | 6f 62 61 6c 20 4c 57 50 |rices.gl|obal LWP|
|000040f0| 72 69 63 65 73 0d 0d 67 | 6c 6f 62 61 6c 20 50 6c |rices..g|lobal Pl|
|00004100| 69 65 73 4c 69 73 74 0d | 0d 2d 2d 20 6e 6f 20 6e |iesList.|.-- no n|
|00004110| 65 65 64 20 74 6f 20 64 | 6f 20 61 6e 79 74 68 69 |eed to d|o anythi|
|00004120| 6e 67 20 69 66 20 64 61 | 74 61 20 61 6c 72 65 61 |ng if da|ta alrea|
|00004130| 64 20 6c 6f 61 64 65 64 | 0d 69 66 20 77 68 69 63 |d loaded|.if whic|
|00004140| 68 49 74 65 6d 4e 6f 20 | 69 73 20 49 74 65 6d 4e |hItemNo |is ItemN|
|00004150| 6f 20 74 68 65 6e 20 65 | 78 69 74 20 67 65 74 50 |o then e|xit getP|
|00004160| 72 69 63 69 6e 67 0d 6c | 6f 63 6b 20 73 63 72 65 |ricing.l|ock scre|
|00004170| 65 6e 0d 73 65 74 20 6c | 6f 63 6b 6d 65 73 73 61 |en.set l|ockmessa|
|00004180| 67 65 73 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |ges to t|rue.set |
|00004190| 6c 6f 63 6b 52 65 63 65 | 6e 74 20 74 6f 20 74 72 |lockRece|nt to tr|
|000041a0| 75 65 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ue.set c|ursor to|
|000041b0| 20 62 75 73 79 0d 70 75 | 73 68 20 63 61 72 64 0d | busy.pu|sh card.|
|000041c0| 67 6f 20 74 6f 20 62 67 | 20 22 50 72 69 63 65 20 |go to bg| "Price |
|000041d0| 4c 69 73 74 22 0d 73 65 | 74 20 63 75 72 73 6f 72 |List".se|t cursor|
|000041e0| 20 74 6f 20 62 75 73 79 | 0d 66 69 6e 64 20 77 68 | to busy|.find wh|
|000041f0| 6f 6c 65 20 77 68 69 63 | 68 49 74 65 6d 4e 6f 20 |ole whic|hItemNo |
|00004200| 69 6e 20 66 69 65 6c 64 | 20 22 49 74 65 6d 4e 6f |in field| "ItemNo|
|00004210| 22 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |".set cu|rsor to |
|00004220| 62 75 73 79 0d 69 66 20 | 74 68 65 20 66 6f 75 6e |busy.if |the foun|
|00004230| 64 54 65 78 74 20 69 73 | 20 65 6d 70 74 79 20 74 |dText is| empty t|
|00004240| 68 65 6e 0d 70 6f 70 20 | 63 61 72 64 0d 65 72 72 |hen.pop |card.err|
|00004250| 6f 72 4d 73 67 20 22 42 | 61 64 20 49 74 65 6d 20 |orMsg "B|ad Item |
|00004260| 23 22 26 77 68 69 63 68 | 49 74 65 6d 4e 6f 0d 65 |#"&which|ItemNo.e|
|00004270| 6e 64 20 69 66 0d 73 65 | 74 20 63 75 72 73 6f 72 |nd if.se|t cursor|
|00004280| 20 74 6f 20 62 75 73 79 | 0d 0d 67 65 74 20 77 6f | to busy|..get wo|
|00004290| 72 64 20 32 20 6f 66 20 | 74 68 65 20 66 6f 75 6e |rd 2 of |the foun|
|000042a0| 64 6c 69 6e 65 0d 0d 70 | 75 74 20 6c 69 6e 65 20 |dline..p|ut line |
|000042b0| 69 74 20 6f 66 20 66 69 | 65 6c 64 20 22 49 74 65 |it of fi|eld "Ite|
|000042c0| 6d 4e 6f 22 20 69 6e 74 | 6f 20 49 74 65 6d 4e 6f |mNo" int|o ItemNo|
|000042d0| 0d 70 75 74 20 6c 69 6e | 65 20 69 74 20 6f 66 20 |.put lin|e it of |
|000042e0| 66 69 65 6c 64 20 22 44 | 65 73 63 72 22 20 69 6e |field "D|escr" in|
|000042f0| 74 6f 20 44 65 73 63 72 | 0d 70 75 74 20 6c 69 6e |to Descr|.put lin|
|00004300| 65 20 69 74 20 6f 66 20 | 66 69 65 6c 64 20 22 54 |e it of |field "T|
|00004310| 65 6d 70 6c 22 20 69 6e | 74 6f 20 54 65 6d 70 6c |empl" in|to Templ|
|00004320| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 52 65 66 22 |.put fie|ld "Ref"|
|00004330| 20 69 6e 74 6f 20 52 65 | 66 0d 70 75 74 20 66 69 | into Re|f.put fi|
|00004340| 65 6c 64 20 22 46 6f 72 | 6d 48 22 20 69 6e 74 6f |eld "For|mH" into|
|00004350| 20 46 6f 72 6d 48 0d 70 | 75 74 20 66 69 65 6c 64 | FormH.p|ut field|
|00004360| 20 22 46 6f 72 6d 56 22 | 20 69 6e 74 6f 20 46 6f | "FormV"| into Fo|
|00004370| 72 6d 56 0d 70 75 74 20 | 66 69 65 6c 64 20 22 58 |rmV.put |field "X|
|00004380| 54 65 6d 70 6c 22 20 69 | 6e 74 6f 20 58 54 65 6d |Templ" i|nto XTem|
|00004390| 70 6c 0d 70 75 74 20 66 | 69 65 6c 64 20 22 59 54 |pl.put f|ield "YT|
|000043a0| 65 6d 70 6c 22 20 69 6e | 74 6f 20 59 54 65 6d 70 |empl" in|to YTemp|
|000043b0| 6c 0d 70 75 74 20 66 69 | 65 6c 64 20 22 46 6c 61 |l.put fi|eld "Fla|
|000043c0| 74 43 68 61 72 67 65 22 | 20 69 6e 74 6f 20 46 6c |tCharge"| into Fl|
|000043d0| 61 74 43 68 61 72 67 65 | 0d 70 75 74 20 66 69 65 |atCharge|.put fie|
|000043e0| 6c 64 20 22 53 61 6c 65 | 73 55 6e 69 74 22 20 69 |ld "Sale|sUnit" i|
|000043f0| 6e 74 6f 20 53 61 6c 65 | 73 55 6e 69 74 0d 70 75 |nto Sale|sUnit.pu|
|00004400| 74 20 66 69 65 6c 64 20 | 22 44 65 66 50 6c 69 65 |t field |"DefPlie|
|00004410| 73 22 20 69 6e 74 6f 20 | 44 65 66 50 6c 69 65 73 |s" into |DefPlies|
|00004420| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 55 6e 69 74 |.put fie|ld "Unit|
|00004430| 50 72 69 63 65 22 20 69 | 6e 74 6f 20 55 6e 69 74 |Price" i|nto Unit|
|00004440| 50 72 69 63 65 0d 0d 70 | 75 74 20 66 69 65 6c 64 |Price..p|ut field|
|00004450| 20 22 49 6e 6b 43 6f 6c | 6f 72 73 22 20 69 6e 74 | "InkCol|ors" int|
|00004460| 6f 20 49 6e 6b 43 6f 6c | 6f 72 73 0d 0d 70 75 74 |o InkCol|ors..put|
|00004470| 20 66 69 65 6c 64 20 22 | 53 69 6e 67 6c 65 43 6f | field "|SingleCo|
|00004480| 6c 6f 72 73 22 20 69 6e | 74 6f 20 53 69 6e 67 6c |lors" in|to Singl|
|00004490| 65 43 6f 6c 6f 72 73 0d | 70 75 74 20 66 69 65 6c |eColors.|put fiel|
|000044a0| 64 20 22 46 69 72 73 74 | 43 6f 6c 6f 72 73 22 20 |d "First|Colors" |
|000044b0| 69 6e 74 6f 20 46 69 72 | 73 74 43 6f 6c 6f 72 73 |into Fir|stColors|
|000044c0| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 4d 69 64 64 |.put fie|ld "Midd|
|000044d0| 6c 65 43 6f 6c 6f 72 73 | 22 20 69 6e 74 6f 20 4d |leColors|" into M|
|000044e0| 69 64 64 6c 65 43 6f 6c | 6f 72 73 0d 70 75 74 20 |iddleCol|ors.put |
|000044f0| 66 69 65 6c 64 20 22 4c | 61 73 74 43 6f 6c 6f 72 |field "L|astColor|
|00004500| 73 22 20 69 6e 74 6f 20 | 4c 61 73 74 43 6f 6c 6f |s" into |LastColo|
|00004510| 72 73 0d 0d 70 75 74 20 | 66 69 65 6c 64 20 22 53 |rs..put |field "S|
|00004520| 69 6e 67 6c 65 57 65 69 | 67 68 74 73 22 20 69 6e |ingleWei|ghts" in|
|00004530| 74 6f 20 53 69 6e 67 6c | 65 57 65 69 67 68 74 73 |to Singl|eWeights|
|00004540| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 46 69 72 73 |.put fie|ld "Firs|
|00004550| 74 57 65 69 67 68 74 73 | 22 20 69 6e 74 6f 20 46 |tWeights|" into F|
|00004560| 69 72 73 74 57 65 69 67 | 68 74 73 0d 70 75 74 20 |irstWeig|hts.put |
|00004570| 66 69 65 6c 64 20 22 4d | 69 64 64 6c 65 57 65 69 |field "M|iddleWei|
|00004580| 67 68 74 73 22 20 69 6e | 74 6f 20 4d 69 64 64 6c |ghts" in|to Middl|
|00004590| 65 57 65 69 67 68 74 73 | 0d 70 75 74 20 66 69 65 |eWeights|.put fie|
|000045a0| 6c 64 20 22 4c 61 73 74 | 57 65 69 67 68 74 73 22 |ld "Last|Weights"|
|000045b0| 20 69 6e 74 6f 20 4c 61 | 73 74 57 65 69 67 68 74 | into La|stWeight|
|000045c0| 73 0d 0d 70 75 74 20 66 | 69 65 6c 64 20 22 53 57 |s..put f|ield "SW|
|000045d0| 50 72 69 63 65 73 22 20 | 69 6e 74 6f 20 53 57 50 |Prices" |into SWP|
|000045e0| 72 69 63 65 73 0d 70 75 | 74 20 66 69 65 6c 64 20 |rices.pu|t field |
|000045f0| 22 46 57 50 72 69 63 65 | 73 22 20 69 6e 74 6f 20 |"FWPrice|s" into |
|00004600| 46 57 50 72 69 63 65 73 | 0d 70 75 74 20 66 69 65 |FWPrices|.put fie|
|00004610| 6c 64 20 22 4d 57 50 72 | 69 63 65 73 22 20 69 6e |ld "MWPr|ices" in|
|00004620| 74 6f 20 4d 57 50 72 69 | 63 65 73 0d 70 75 74 20 |to MWPri|ces.put |
|00004630| 66 69 65 6c 64 20 22 4c | 57 50 72 69 63 65 73 22 |field "L|WPrices"|
|00004640| 20 69 6e 74 6f 20 4c 57 | 50 72 69 63 65 73 0d 73 | into LW|Prices.s|
|00004650| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00004660| 79 0d 70 6f 70 20 63 61 | 72 64 0d 67 65 74 20 65 |y.pop ca|rd.get e|
|00004670| 6d 70 74 79 0d 69 66 20 | 75 6e 69 74 50 72 69 63 |mpty.if |unitPric|
|00004680| 65 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |e is not| empty t|
|00004690| 68 65 6e 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |hen.repe|at with |
|000046a0| 69 20 3d 20 31 20 74 6f | 20 6e 75 6d 62 65 72 20 |i = 1 to| number |
|000046b0| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 55 6e 69 74 |of lines| in Unit|
|000046c0| 50 72 69 63 65 0d 69 66 | 20 6c 69 6e 65 20 69 20 |Price.if| line i |
|000046d0| 6f 66 20 75 6e 69 74 50 | 72 69 63 65 20 69 73 20 |of unitP|rice is |
|000046e0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 67 |not empt|y then.g|
|000046f0| 65 74 20 69 74 20 26 26 | 20 69 0d 65 6e 64 20 69 |et it &&| i.end i|
|00004700| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00004710| 20 69 66 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 | if.put |it into |
|00004720| 50 6c 69 65 73 4c 69 73 | 74 0d 73 65 74 20 6c 6f |PliesLis|t.set lo|
|00004730| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 66 61 |ckMessag|es to fa|
|00004740| 6c 73 65 0d 73 65 74 20 | 6c 6f 63 6b 72 65 63 65 |lse.set |lockrece|
|00004750| 6e 74 20 74 6f 20 66 61 | 6c 73 65 0d 65 6e 64 20 |nt to fa|lse.end |
|00004760| 67 65 74 50 72 69 63 69 | 6e 67 0d 0d 6f 6e 20 61 |getPrici|ng..on a|
|00004770| 63 63 65 70 74 49 74 65 | 6d 20 6e 65 65 64 61 72 |cceptIte|m needar|
|00004780| 74 0d 67 6c 6f 62 61 6c | 20 49 74 65 6d 49 44 0d |t.global| ItemID.|
|00004790| 67 6c 6f 62 61 6c 20 43 | 75 73 74 49 44 2c 20 54 |global C|ustID, T|
|000047a0| 69 6d 65 53 74 61 6d 70 | 0d 67 6c 6f 62 61 6c 20 |imeStamp|.global |
|000047b0| 49 74 65 6d 4e 6f 2c 20 | 51 75 61 6e 2c 20 50 72 |ItemNo, |Quan, Pr|
|000047c0| 69 63 65 0d 67 6c 6f 62 | 61 6c 20 44 65 73 63 72 |ice.glob|al Descr|
|000047d0| 0d 67 6c 6f 62 61 6c 20 | 44 65 73 69 67 6e 2c 20 |.global |Design, |
|000047e0| 54 79 70 65 53 74 79 6c | 65 0d 67 6c 6f 62 61 6c |TypeStyl|e.global|
|000047f0| 20 4c 6f 67 6f 46 69 6c | 65 2c 20 41 72 74 57 6f | LogoFil|e, ArtWo|
|00004800| 72 6b 46 69 6c 65 0d 67 | 6c 6f 62 61 6c 20 4e 75 |rkFile.g|lobal Nu|
|00004810| 6d 50 6c 69 65 73 2c 20 | 53 74 61 72 74 4e 75 6d |mPlies, |StartNum|
|00004820| 0d 67 6c 6f 62 61 6c 20 | 50 61 70 65 72 6b 69 6e |.global |Paperkin|
|00004830| 64 2c 20 50 61 70 65 72 | 43 6f 6c 6f 72 0d 67 6c |d, Paper|Color.gl|
|00004840| 6f 62 61 6c 20 46 6f 72 | 65 49 6e 6b 43 6f 6c 6f |obal For|eInkColo|
|00004850| 72 2c 20 42 61 63 6b 49 | 6e 6b 43 6f 6c 6f 72 0d |r, BackI|nkColor.|
|00004860| 67 6c 6f 62 61 6c 20 54 | 65 78 74 31 2c 20 54 65 |global T|ext1, Te|
|00004870| 78 74 32 2c 20 54 65 78 | 74 33 2c 20 54 65 78 74 |xt2, Tex|t3, Text|
|00004880| 34 2c 20 54 65 78 74 35 | 0d 67 6c 6f 62 61 6c 20 |4, Text5|.global |
|00004890| 54 65 78 74 36 2c 20 54 | 65 78 74 37 2c 20 54 65 |Text6, T|ext7, Te|
|000048a0| 78 74 38 2c 20 54 65 78 | 74 39 2c 20 54 65 78 74 |xt8, Tex|t9, Text|
|000048b0| 31 30 0d 67 6c 6f 62 61 | 6c 20 54 65 78 74 31 31 |10.globa|l Text11|
|000048c0| 2c 20 54 65 78 74 31 32 | 2c 20 54 65 78 74 31 33 |, Text12|, Text13|
|000048d0| 2c 20 54 65 78 74 31 34 | 2c 20 54 65 78 74 31 35 |, Text14|, Text15|
|000048e0| 0d 67 6c 6f 62 61 6c 20 | 54 65 78 74 31 36 2c 20 |.global |Text16, |
|000048f0| 54 65 78 74 31 37 2c 20 | 54 65 78 74 31 38 2c 20 |Text17, |Text18, |
|00004900| 54 65 78 74 31 39 2c 20 | 54 65 78 74 32 30 0d 67 |Text19, |Text20.g|
|00004910| 6c 6f 62 61 6c 20 54 65 | 78 74 32 31 2c 20 54 65 |lobal Te|xt21, Te|
|00004920| 78 74 32 32 0d 67 6c 6f | 62 61 6c 20 56 65 6e 64 |xt22.glo|bal Vend|
|00004930| 6f 72 49 44 0d 0d 67 6c | 6f 62 61 6c 20 49 74 65 |orID..gl|obal Ite|
|00004940| 6d 73 44 65 74 61 69 6c | 0d 67 6c 6f 62 61 6c 20 |msDetail|.global |
|00004950| 44 65 66 61 75 6c 74 4c | 6f 67 6f 0d 67 6c 6f 62 |DefaultL|ogo.glob|
|00004960| 61 6c 20 44 65 66 61 75 | 6c 74 54 79 70 65 53 74 |al Defau|ltTypeSt|
|00004970| 79 6c 65 0d 67 6c 6f 62 | 61 6c 20 44 65 66 61 75 |yle.glob|al Defau|
|00004980| 6c 74 44 65 73 69 67 6e | 0d 0d 67 6c 6f 62 61 6c |ltDesign|..global|
|00004990| 20 4c 61 79 6f 75 74 4e | 75 6d 73 0d 67 6c 6f 62 | LayoutN|ums.glob|
|000049a0| 61 6c 20 49 6d 61 67 65 | 46 69 6c 65 73 0d 0d 67 |al Image|Files..g|
|000049b0| 6c 6f 62 61 6c 20 43 68 | 61 6e 67 65 64 2c 20 73 |lobal Ch|anged, s|
|000049c0| 61 76 65 64 0d 0d 69 66 | 20 43 68 61 6e 67 65 64 |aved..if| Changed|
|000049d0| 20 6f 72 20 6e 6f 74 20 | 73 61 76 65 64 20 74 68 | or not |saved th|
|000049e0| 65 6e 0d 69 66 20 49 74 | 65 6d 49 44 20 69 73 20 |en.if It|emID is |
|000049f0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 74 |empty th|en put t|
|00004a00| 68 65 20 73 65 63 6f 6e | 64 73 20 6d 6f 64 20 31 |he secon|ds mod 1|
|00004a10| 30 30 30 30 30 30 20 69 | 6e 74 6f 20 49 74 65 6d |000000 i|nto Item|
|00004a20| 49 44 0d 65 6c 73 65 0d | 4b 69 6c 6c 49 74 65 6d |ID.else.|KillItem|
|00004a30| 20 49 74 65 6d 49 44 0d | 65 6e 64 20 69 66 0d 73 | ItemID.|end if.s|
|00004a40| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00004a50| 79 0d 70 75 74 20 4e 75 | 6d 54 6f 43 68 61 72 28 |y.put Nu|mToChar(|
|00004a60| 31 33 29 20 69 6e 74 6f | 20 63 72 0d 67 65 74 20 |13) into| cr.get |
|00004a70| 22 a4 49 74 65 6d 49 44 | 3a 22 20 26 26 20 49 74 |".ItemID|:" && It|
|00004a80| 65 6d 49 44 20 26 20 63 | 72 0d 67 65 74 20 69 74 |emID & c|r.get it|
|00004a90| 20 26 20 22 a4 49 74 65 | 6d 4e 6f 3a 22 20 26 26 | & ".Ite|mNo:" &&|
|00004aa0| 20 49 74 65 6d 4e 6f 20 | 26 20 63 72 0d 67 65 74 | ItemNo |& cr.get|
|00004ab0| 20 69 74 20 26 20 22 a4 | 51 75 61 6e 3a 22 20 26 | it & ".|Quan:" &|
|00004ac0| 26 20 51 75 61 6e 20 26 | 20 63 72 0d 67 65 74 20 |& Quan &| cr.get |
|00004ad0| 69 74 20 26 20 22 a4 50 | 72 69 63 65 3a 22 20 26 |it & ".P|rice:" &|
|00004ae0| 26 20 50 72 69 63 65 20 | 26 20 63 72 0d 67 65 74 |& Price |& cr.get|
|00004af0| 20 69 74 20 26 20 22 a4 | 44 65 73 63 72 3a 22 20 | it & ".|Descr:" |
|00004b00| 26 26 20 44 65 73 63 72 | 20 26 20 63 72 0d 67 65 |&& Descr| & cr.ge|
|00004b10| 74 20 69 74 20 26 20 22 | a4 44 65 73 69 67 6e 3a |t it & "|.Design:|
|00004b20| 22 20 26 26 20 44 65 73 | 69 67 6e 20 26 20 63 72 |" && Des|ign & cr|
|00004b30| 0d 67 65 74 20 69 74 20 | 26 20 22 a4 54 79 70 65 |.get it |& ".Type|
|00004b40| 53 74 79 6c 65 3a 22 20 | 26 26 20 54 79 70 65 53 |Style:" |&& TypeS|
|00004b50| 74 79 6c 65 20 26 20 63 | 72 0d 67 65 74 20 69 74 |tyle & c|r.get it|
|00004b60| 20 26 20 22 a4 4c 6f 67 | 6f 46 69 6c 65 3a 22 20 | & ".Log|oFile:" |
|00004b70| 26 26 20 4c 6f 67 6f 46 | 69 6c 65 20 26 20 63 72 |&& LogoF|ile & cr|
|00004b80| 0d 69 66 20 6e 65 65 64 | 61 72 74 20 69 73 20 6e |.if need|art is n|
|00004b90| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 70 75 |ot empty| then.pu|
|00004ba0| 74 20 22 63 2e 22 26 56 | 65 6e 64 6f 72 49 44 26 |t "c."&V|endorID&|
|00004bb0| 22 2e 22 26 49 74 65 6d | 49 44 20 69 6e 74 6f 20 |"."&Item|ID into |
|00004bc0| 41 72 74 77 6f 72 6b 46 | 69 6c 65 0d 65 6e 64 20 |ArtworkF|ile.end |
|00004bd0| 69 66 0d 67 65 74 20 69 | 74 20 26 20 22 a4 41 72 |if.get i|t & ".Ar|
|00004be0| 74 77 6f 72 6b 46 69 6c | 65 3a 22 20 26 26 20 41 |tworkFil|e:" && A|
|00004bf0| 72 74 77 6f 72 6b 46 69 | 6c 65 20 26 20 63 72 0d |rtworkFi|le & cr.|
|00004c00| 67 65 74 20 69 74 20 26 | 20 22 a4 4e 75 6d 50 6c |get it &| ".NumPl|
|00004c10| 69 65 73 3a 22 20 26 26 | 20 4e 75 6d 50 6c 69 65 |ies:" &&| NumPlie|
|00004c20| 73 20 26 20 63 72 0d 67 | 65 74 20 69 74 20 26 20 |s & cr.g|et it & |
|00004c30| 22 a4 53 74 61 72 74 4e | 75 6d 3a 22 20 26 26 20 |".StartN|um:" && |
|00004c40| 53 74 61 72 74 4e 75 6d | 20 26 20 63 72 0d 67 65 |StartNum| & cr.ge|
|00004c50| 74 20 69 74 20 26 20 22 | a4 50 61 70 65 72 4b 69 |t it & "|.PaperKi|
|00004c60| 6e 64 3a 22 20 26 26 20 | 50 61 70 65 72 4b 69 6e |nd:" && |PaperKin|
|00004c70| 64 20 26 20 63 72 0d 67 | 65 74 20 69 74 20 26 20 |d & cr.g|et it & |
|00004c80| 22 a4 50 61 70 65 72 43 | 6f 6c 6f 72 3a 22 20 26 |".PaperC|olor:" &|
|00004c90| 26 20 50 61 70 65 72 43 | 6f 6c 6f 72 20 26 20 63 |& PaperC|olor & c|
|00004ca0| 72 0d 67 65 74 20 69 74 | 20 26 20 22 a4 46 6f 72 |r.get it| & ".For|
|00004cb0| 65 49 6e 6b 43 6f 6c 6f | 72 3a 22 20 26 26 20 46 |eInkColo|r:" && F|
|00004cc0| 6f 72 65 49 6e 6b 43 6f | 6c 6f 72 20 26 20 63 72 |oreInkCo|lor & cr|
|00004cd0| 0d 67 65 74 20 69 74 20 | 26 20 22 a4 42 61 63 6b |.get it |& ".Back|
|00004ce0| 49 6e 6b 43 6f 6c 6f 72 | 3a 22 20 26 26 20 42 61 |InkColor|:" && Ba|
|00004cf0| 63 6b 49 6e 6b 43 6f 6c | 6f 72 20 26 20 63 72 0d |ckInkCol|or & cr.|
|00004d00| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00004d10| 75 73 79 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |usy.repe|at with |
|00004d20| 69 20 3d 20 31 20 74 6f | 20 32 32 0d 64 6f 20 22 |i = 1 to| 22.do "|
|00004d30| 70 75 74 20 54 65 78 74 | 22 26 69 26 22 20 69 6e |put Text|"&i&" in|
|00004d40| 74 6f 20 74 65 6d 70 22 | 0d 69 66 20 74 65 6d 70 |to temp"|.if temp|
|00004d50| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004d60| 65 6e 0d 67 65 74 20 69 | 74 20 26 20 22 a4 54 65 |en.get i|t & ".Te|
|00004d70| 78 74 22 26 69 26 22 3a | 22 20 26 26 20 74 65 6d |xt"&i&":|" && tem|
|00004d80| 70 20 26 20 63 72 0d 65 | 6e 64 20 69 66 0d 65 6e |p & cr.e|nd if.en|
|00004d90| 64 20 72 65 70 65 61 74 | 0d 0d 70 75 74 20 69 74 |d repeat|..put it|
|00004da0| 20 61 66 74 65 72 20 49 | 74 65 6d 73 44 65 74 61 | after I|temsDeta|
|00004db0| 69 6c 0d 69 66 20 41 72 | 74 77 6f 72 6b 66 69 6c |il.if Ar|tworkfil|
|00004dc0| 65 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |e is not| empty t|
|00004dd0| 68 65 6e 20 61 64 64 49 | 6d 61 67 65 20 41 72 74 |hen addI|mage Art|
|00004de0| 77 6f 72 6b 46 69 6c 65 | 0d 69 66 20 4c 6f 67 6f |workFile|.if Logo|
|00004df0| 46 69 6c 65 20 63 6f 6e | 74 61 69 6e 73 20 22 3a |File con|tains ":|
|00004e00| 22 20 74 68 65 6e 20 61 | 64 64 49 6d 61 67 65 20 |" then a|ddImage |
|00004e10| 4c 6f 67 6f 46 69 6c 65 | 0d 0d 73 65 74 20 63 75 |LogoFile|..set cu|
|00004e20| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 70 75 74 |rsor to |busy.put|
|00004e30| 20 49 74 65 6d 4e 6f 20 | 26 26 20 49 74 65 6d 49 | ItemNo |&& ItemI|
|00004e40| 44 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |D & retu|rn after|
|00004e50| 20 4c 61 79 6f 75 74 4e | 75 6d 73 0d 0d 70 75 74 | LayoutN|ums..put|
|00004e60| 20 4c 6f 67 6f 46 69 6c | 65 20 69 6e 74 6f 20 44 | LogoFil|e into D|
|00004e70| 65 66 61 75 6c 74 4c 6f | 67 6f 0d 70 75 74 20 54 |efaultLo|go.put T|
|00004e80| 79 70 65 53 74 79 6c 65 | 20 69 6e 74 6f 20 44 65 |ypeStyle| into De|
|00004e90| 66 61 75 6c 74 54 79 70 | 65 53 74 79 6c 65 0d 70 |faultTyp|eStyle.p|
|00004ea0| 75 74 20 44 65 73 69 67 | 6e 20 69 6e 74 6f 20 44 |ut Desig|n into D|
|00004eb0| 65 66 61 75 6c 74 44 65 | 73 69 67 6e 0d 65 6e 64 |efaultDe|sign.end|
|00004ec0| 20 69 66 0d 0d 73 65 74 | 20 63 75 72 73 6f 72 20 | if..set| cursor |
|00004ed0| 74 6f 20 62 75 73 79 0d | 41 64 64 4c 69 6e 65 20 |to busy.|AddLine |
|00004ee0| 49 74 65 6d 4e 6f 2c 51 | 75 61 6e 2c 44 65 73 63 |ItemNo,Q|uan,Desc|
|00004ef0| 72 2c 49 74 65 6d 49 44 | 2c 50 72 69 63 65 0d 73 |r,ItemID|,Price.s|
|00004f00| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00004f10| 79 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |y.put em|pty into|
|00004f20| 20 49 74 65 6d 49 44 0d | 65 6e 64 20 61 63 63 65 | ItemID.|end acce|
|00004f30| 70 74 49 74 65 6d 0d 0d | 6f 6e 20 41 64 64 49 6d |ptItem..|on AddIm|
|00004f40| 61 67 65 20 49 6d 61 67 | 65 46 69 6c 65 4e 61 6d |age Imag|eFileNam|
|00004f50| 65 0d 67 6c 6f 62 61 6c | 20 49 6d 61 67 65 46 69 |e.global| ImageFi|
|00004f60| 6c 65 73 0d 69 66 20 49 | 6d 61 67 65 46 69 6c 65 |les.if I|mageFile|
|00004f70| 4e 61 6d 65 20 69 73 20 | 6e 6f 74 20 69 6e 20 49 |Name is |not in I|
|00004f80| 6d 61 67 65 46 69 6c 65 | 73 20 74 68 65 6e 0d 70 |mageFile|s then.p|
|00004f90| 75 74 20 49 6d 61 67 65 | 46 69 6c 65 4e 61 6d 65 |ut Image|FileName|
|00004fa0| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00004fb0| 49 6d 61 67 65 46 69 6c | 65 73 0d 65 6e 64 20 69 |ImageFil|es.end i|
|00004fc0| 66 0d 65 6e 64 20 41 64 | 64 49 6d 61 67 65 0d 0d |f.end Ad|dImage..|
|00004fd0| 6f 6e 20 41 64 64 4c 69 | 6e 65 20 49 74 65 6d 4e |on AddLi|ne ItemN|
|00004fe0| 6f 2c 51 75 61 6e 2c 44 | 65 73 63 72 2c 54 79 70 |o,Quan,D|escr,Typ|
|00004ff0| 65 4e 6f 2c 50 72 69 63 | 65 0d 67 6c 6f 62 61 6c |eNo,Pric|e.global|
|00005000| 20 49 74 65 6d 73 0d 70 | 75 74 20 6c 70 61 64 28 | Items.p|ut lpad(|
|00005010| 49 74 65 6d 4e 6f 2c 35 | 29 20 69 6e 74 6f 20 49 |ItemNo,5|) into I|
|00005020| 74 65 6d 4e 6f 0d 70 75 | 74 20 6c 70 61 64 28 54 |temNo.pu|t lpad(T|
|00005030| 79 70 65 4e 6f 2c 37 29 | 20 69 6e 74 6f 20 54 79 |ypeNo,7)| into Ty|
|00005040| 70 65 4e 6f 0d 70 75 74 | 20 72 70 61 64 28 44 65 |peNo.put| rpad(De|
|00005050| 73 63 72 2c 34 33 29 20 | 69 6e 74 6f 20 44 65 73 |scr,43) |into Des|
|00005060| 63 72 0d 70 75 74 20 6c | 70 61 64 28 51 75 61 6e |cr.put l|pad(Quan|
|00005070| 2c 37 29 20 69 6e 74 6f | 20 51 75 61 6e 0d 70 75 |,7) into| Quan.pu|
|00005080| 74 20 72 6f 75 6e 64 54 | 6f 43 65 6e 74 28 50 72 |t roundT|oCent(Pr|
|00005090| 69 63 65 29 20 69 6e 74 | 6f 20 50 72 69 63 65 0d |ice) int|o Price.|
|000050a0| 70 75 74 20 6c 70 61 64 | 28 50 72 69 63 65 2c 31 |put lpad|(Price,1|
|000050b0| 30 29 20 69 6e 74 6f 20 | 50 72 69 63 65 0d 0d 70 |0) into |Price..p|
|000050c0| 75 74 20 49 74 65 6d 4e | 6f 26 26 54 79 70 65 4e |ut ItemN|o&&TypeN|
|000050d0| 6f 26 26 51 75 61 6e 26 | 22 20 20 20 22 26 44 65 |o&&Quan&|" "&De|
|000050e0| 73 63 72 26 26 50 72 69 | 63 65 26 26 72 65 74 75 |scr&&Pri|ce&&retu|
|000050f0| 72 6e c2 0d 61 66 74 65 | 72 20 49 74 65 6d 73 0d |rn..afte|r Items.|
|00005100| 63 61 6c 63 74 6f 74 61 | 6c 0d 65 6e 64 20 41 64 |calctota|l.end Ad|
|00005110| 64 4c 69 6e 65 0d 0d 6f | 6e 20 63 61 6c 63 74 6f |dLine..o|n calcto|
|00005120| 74 61 6c 0d 67 6c 6f 62 | 61 6c 20 49 74 65 6d 73 |tal.glob|al Items|
|00005130| 0d 67 6c 6f 62 61 6c 20 | 53 75 62 54 6f 74 61 6c |.global |SubTotal|
|00005140| 0d 67 6c 6f 62 61 6c 20 | 44 69 73 63 6f 75 6e 74 |.global |Discount|
|00005150| 0d 67 6c 6f 62 61 6c 20 | 53 61 6c 65 73 54 61 78 |.global |SalesTax|
|00005160| 0d 67 6c 6f 62 61 6c 20 | 50 48 0d 67 6c 6f 62 61 |.global |PH.globa|
|00005170| 6c 20 54 61 78 0d 67 6c | 6f 62 61 6c 20 54 6f 74 |l Tax.gl|obal Tot|
|00005180| 61 6c 0d 67 6c 6f 62 61 | 6c 20 53 68 69 70 54 6f |al.globa|l ShipTo|
|00005190| 53 74 61 74 65 0d 70 75 | 74 20 22 30 2e 30 30 22 |State.pu|t "0.00"|
|000051a0| 20 69 6e 74 6f 20 73 75 | 62 74 6f 74 0d 72 65 70 | into su|btot.rep|
|000051b0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|000051c0| 6f 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |o number| of line|
|000051d0| 73 20 69 6e 20 49 74 65 | 6d 73 0d 61 64 64 20 6c |s in Ite|ms.add l|
|000051e0| 61 73 74 20 77 6f 72 64 | 20 6f 66 20 6c 69 6e 65 |ast word| of line|
|000051f0| 20 69 20 6f 66 20 49 74 | 65 6d 73 20 74 6f 20 73 | i of It|ems to s|
|00005200| 75 62 74 6f 74 0d 65 6e | 64 20 72 65 70 65 61 74 |ubtot.en|d repeat|
|00005210| 0d 70 75 74 20 72 6f 75 | 6e 64 54 6f 43 65 6e 74 |.put rou|ndToCent|
|00005220| 28 73 75 62 74 6f 74 29 | 20 69 6e 74 6f 20 74 65 |(subtot)| into te|
|00005230| 6d 70 0d 70 75 74 20 72 | 6f 75 6e 64 54 6f 43 65 |mp.put r|oundToCe|
|00005240| 6e 74 28 74 65 6d 70 2a | 2d 2e 31 30 29 20 69 6e |nt(temp*|-.10) in|
|00005250| 74 6f 20 44 69 73 63 6f | 75 6e 74 0d 70 75 74 20 |to Disco|unt.put |
|00005260| 72 6f 75 6e 64 54 6f 43 | 65 6e 74 28 74 65 6d 70 |roundToC|ent(temp|
|00005270| 20 2b 20 44 69 73 63 6f | 75 6e 74 29 20 69 6e 74 | + Disco|unt) int|
|00005280| 6f 20 53 75 62 54 6f 74 | 61 6c 0d 70 75 74 20 72 |o SubTot|al.put r|
|00005290| 6f 75 6e 64 54 6f 43 65 | 6e 74 28 53 75 62 54 6f |oundToCe|nt(SubTo|
|000052a0| 74 61 6c 2a 2e 30 37 29 | 20 69 6e 74 6f 20 50 48 |tal*.07)| into PH|
|000052b0| 0d 69 66 20 53 75 62 74 | 6f 74 61 6c 20 69 73 20 |.if Subt|otal is |
|000052c0| 30 20 74 68 65 6e 20 70 | 75 74 20 22 30 2e 30 30 |0 then p|ut "0.00|
|000052d0| 22 20 69 6e 74 6f 20 50 | 48 0d 65 6c 73 65 20 69 |" into P|H.else i|
|000052e0| 66 20 50 48 3c 33 20 74 | 68 65 6e 20 70 75 74 20 |f PH<3 t|hen put |
|000052f0| 22 33 2e 30 30 22 20 69 | 6e 74 6f 20 50 48 0d 69 |"3.00" i|nto PH.i|
|00005300| 66 20 53 68 69 70 54 6f | 53 74 61 74 65 20 69 73 |f ShipTo|State is|
|00005310| 20 22 49 4c 22 20 74 68 | 65 6e 0d 70 75 74 20 72 | "IL" th|en.put r|
|00005320| 6f 75 6e 64 54 6f 43 65 | 6e 74 28 53 75 62 54 6f |oundToCe|nt(SubTo|
|00005330| 74 61 6c 20 2a 20 53 61 | 6c 65 73 54 61 78 29 20 |tal * Sa|lesTax) |
|00005340| 69 6e 74 6f 20 54 61 78 | 0d 65 6c 73 65 0d 70 75 |into Tax|.else.pu|
|00005350| 74 20 22 30 2e 30 30 22 | 20 69 6e 74 6f 20 54 61 |t "0.00"| into Ta|
|00005360| 78 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 72 6f 75 |x.end if|.put rou|
|00005370| 6e 64 54 6f 43 65 6e 74 | 28 53 75 62 54 6f 74 61 |ndToCent|(SubTota|
|00005380| 6c 20 2b 20 50 48 20 2b | 20 54 61 78 29 20 69 6e |l + PH +| Tax) in|
|00005390| 74 6f 20 54 6f 74 61 6c | 0d 65 6e 64 20 63 61 6c |to Total|.end cal|
|000053a0| 63 74 6f 74 61 6c 0d 0d | 66 75 6e 63 74 69 6f 6e |ctotal..|function|
|000053b0| 20 6c 70 61 64 20 69 74 | 6d 2c 6c 65 6e 0d 70 75 | lpad it|m,len.pu|
|000053c0| 74 20 63 68 61 72 20 31 | 20 74 6f 20 6c 65 6e 20 |t char 1| to len |
|000053d0| 6f 66 20 69 74 6d 20 69 | 6e 74 6f 20 69 74 6d 0d |of itm i|nto itm.|
|000053e0| 72 65 70 65 61 74 20 77 | 68 69 6c 65 20 6c 65 6e |repeat w|hile len|
|000053f0| 67 74 68 28 69 74 6d 29 | 20 3c 20 6c 65 6e 0d 70 |gth(itm)| < len.p|
|00005400| 75 74 20 73 70 61 63 65 | 20 26 20 69 74 6d 20 69 |ut space| & itm i|
|00005410| 6e 74 6f 20 69 74 6d 0d | 65 6e 64 20 72 65 70 65 |nto itm.|end repe|
|00005420| 61 74 0d 72 65 74 75 72 | 6e 20 69 74 6d 0d 65 6e |at.retur|n itm.en|
|00005430| 64 20 6c 70 61 64 0d 0d | 66 75 6e 63 74 69 6f 6e |d lpad..|function|
|00005440| 20 72 70 61 64 20 69 74 | 6d 2c 6c 65 6e 0d 70 75 | rpad it|m,len.pu|
|00005450| 74 20 63 68 61 72 20 31 | 20 74 6f 20 6c 65 6e 20 |t char 1| to len |
|00005460| 6f 66 20 69 74 6d 20 69 | 6e 74 6f 20 69 74 6d 0d |of itm i|nto itm.|
|00005470| 72 65 70 65 61 74 20 77 | 68 69 6c 65 20 6c 65 6e |repeat w|hile len|
|00005480| 67 74 68 28 69 74 6d 29 | 20 3c 20 6c 65 6e 0d 70 |gth(itm)| < len.p|
|00005490| 75 74 20 69 74 6d 20 26 | 20 73 70 61 63 65 20 69 |ut itm &| space i|
|000054a0| 6e 74 6f 20 69 74 6d 0d | 65 6e 64 20 72 65 70 65 |nto itm.|end repe|
|000054b0| 61 74 0d 72 65 74 75 72 | 6e 20 69 74 6d 0d 65 6e |at.retur|n itm.en|
|000054c0| 64 20 72 70 61 64 0d 0d | 6f 6e 20 6e 65 77 4f 72 |d rpad..|on newOr|
|000054d0| 64 65 72 0d 67 6c 6f 62 | 61 6c 20 6f 6c 64 4f 72 |der.glob|al oldOr|
|000054e0| 64 65 72 49 44 0d 67 6c | 6f 62 61 6c 20 49 74 65 |derID.gl|obal Ite|
|000054f0| 6d 73 0d 67 6c 6f 62 61 | 6c 20 53 75 62 54 6f 74 |ms.globa|l SubTot|
|00005500| 61 6c 0d 67 6c 6f 62 61 | 6c 20 54 61 78 0d 67 6c |al.globa|l Tax.gl|
|00005510| 6f 62 61 6c 20 50 48 0d | 67 6c 6f 62 61 6c 20 54 |obal PH.|global T|
|00005520| 6f 74 61 6c 0d 0d 70 75 | 74 20 65 6d 70 74 79 20 |otal..pu|t empty |
|00005530| 69 6e 74 6f 20 6f 6c 64 | 4f 72 64 65 72 49 44 0d |into old|OrderID.|
|00005540| 67 65 74 20 22 30 2e 30 | 30 22 0d 70 75 74 20 69 |get "0.0|0".put i|
|00005550| 74 20 69 6e 74 6f 20 53 | 75 62 54 6f 74 61 6c 0d |t into S|ubTotal.|
|00005560| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 54 61 78 0d |put it i|nto Tax.|
|00005570| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 50 48 0d 70 |put it i|nto PH.p|
|00005580| 75 74 20 69 74 20 69 6e | 74 6f 20 54 6f 74 61 6c |ut it in|to Total|
|00005590| 0d 2d 2d 20 67 6f 4e 65 | 78 74 0d 65 6e 64 20 6e |.-- goNe|xt.end n|
|000055a0| 65 77 4f 72 64 65 72 0d | 0d 6f 6e 20 43 61 6c 63 |ewOrder.|.on Calc|
|000055b0| 50 72 69 63 65 0d 67 6c | 6f 62 61 6c 20 51 75 61 |Price.gl|obal Qua|
|000055c0| 6e 0d 67 6c 6f 62 61 6c | 20 51 75 61 6e 49 6e 64 |n.global| QuanInd|
|000055d0| 0d 67 6c 6f 62 61 6c 20 | 53 61 6c 65 73 55 6e 69 |.global |SalesUni|
|000055e0| 74 0d 67 6c 6f 62 61 6c | 20 46 6c 61 74 43 68 61 |t.global| FlatCha|
|000055f0| 72 67 65 0d 67 6c 6f 62 | 61 6c 20 55 6e 69 74 50 |rge.glob|al UnitP|
|00005600| 72 69 63 65 0d 67 6c 6f | 62 61 6c 20 43 75 73 74 |rice.glo|bal Cust|
|00005610| 6f 6d 46 65 65 0d 67 6c | 6f 62 61 6c 20 53 57 50 |omFee.gl|obal SWP|
|00005620| 72 69 63 65 73 0d 67 6c | 6f 62 61 6c 20 4e 75 6d |rices.gl|obal Num|
|00005630| 50 6c 69 65 73 0d 67 6c | 6f 62 61 6c 20 70 31 77 |Plies.gl|obal p1w|
|00005640| 69 6e 64 0d 67 6c 6f 62 | 61 6c 20 50 72 69 63 65 |ind.glob|al Price|
|00005650| 0d 0d 67 65 74 20 51 75 | 61 6e 2f 53 61 6c 65 73 |..get Qu|an/Sales|
|00005660| 55 6e 69 74 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |Unit.put| it into|
|00005670| 20 51 75 61 6e 49 6e 64 | 0d 2d 2d 20 67 6c 6f 62 | QuanInd|.-- glob|
|00005680| 61 6c 20 6f 76 65 72 64 | 6f 67 0d 2d 2d 20 69 66 |al overd|og.-- if|
|00005690| 20 6f 76 65 72 64 6f 67 | 20 74 68 65 6e 20 61 6e | overdog| then an|
|000056a0| 73 77 65 72 20 51 75 61 | 6e 49 6e 64 0d 67 65 74 |swer Qua|nInd.get|
|000056b0| 20 51 75 61 6e 49 6e 64 | 20 2a 20 28 6c 69 6e 65 | QuanInd| * (line|
|000056c0| 20 4e 75 6d 50 6c 69 65 | 73 20 6f 66 20 55 6e 69 | NumPlie|s of Uni|
|000056d0| 74 50 72 69 63 65 29 0d | 67 65 74 20 69 74 20 2b |tPrice).|get it +|
|000056e0| 20 51 75 61 6e 49 6e 64 | 20 2a 20 6c 69 6e 65 20 | QuanInd| * line |
|000056f0| 70 31 77 69 6e 64 20 6f | 66 20 53 57 50 72 69 63 |p1wind o|f SWPric|
|00005700| 65 73 0d 0d 67 65 74 20 | 69 74 20 2b 20 46 6c 61 |es..get |it + Fla|
|00005710| 74 43 68 61 72 67 65 0d | 67 65 74 20 72 6f 75 6e |tCharge.|get roun|
|00005720| 64 54 6f 43 65 6e 74 28 | 69 74 29 0d 70 75 74 20 |dToCent(|it).put |
|00005730| 69 74 20 69 6e 74 6f 20 | 50 72 69 63 65 0d 65 6e |it into |Price.en|
|00005740| 64 20 43 61 6c 63 50 72 | 69 63 65 0d 0d 66 75 6e |d CalcPr|ice..fun|
|00005750| 63 74 69 6f 6e 20 72 6f | 75 6e 64 54 6f 43 65 6e |ction ro|undToCen|
|00005760| 74 20 61 6d 6f 75 6e 74 | 0d 70 75 74 20 74 68 65 |t amount|.put the|
|00005770| 20 6e 75 6d 62 65 72 46 | 6f 72 6d 61 74 20 69 6e | numberF|ormat in|
|00005780| 74 6f 20 6f 6c 64 46 6f | 72 6d 61 74 0d 73 65 74 |to oldFo|rmat.set|
|00005790| 20 6e 75 6d 62 65 72 46 | 6f 72 6d 61 74 20 74 6f | numberF|ormat to|
|000057a0| 20 22 30 2e 30 30 22 20 | 2d 2d 20 73 65 74 73 20 | "0.00" |-- sets |
|000057b0| 64 6f 6c 6c 61 72 20 66 | 6f 72 6d 61 74 0d 67 65 |dollar f|ormat.ge|
|000057c0| 74 20 72 6f 75 6e 64 28 | 61 6d 6f 75 6e 74 2a 31 |t round(|amount*1|
|000057d0| 30 30 29 2f 31 30 30 0d | 67 65 74 20 63 68 61 72 |00)/100.|get char|
|000057e0| 20 31 20 74 6f 20 6c 65 | 6e 67 74 68 28 69 74 29 | 1 to le|ngth(it)|
|000057f0| 20 6f 66 20 69 74 0d 73 | 65 74 20 6e 75 6d 62 65 | of it.s|et numbe|
|00005800| 72 46 6f 72 6d 61 74 20 | 74 6f 20 6f 6c 64 46 6f |rFormat |to oldFo|
|00005810| 72 6d 61 74 0d 72 65 74 | 75 72 6e 20 69 74 0d 65 |rmat.ret|urn it.e|
|00005820| 6e 64 20 72 6f 75 6e 64 | 54 6f 43 65 6e 74 0d 0d |nd round|ToCent..|
|00005830| 6f 6e 20 4e 65 77 4d 75 | 6c 74 69 0d 67 6c 6f 62 |on NewMu|lti.glob|
|00005840| 61 6c 20 4d 75 6c 74 69 | 4f 72 64 65 72 0d 67 6c |al Multi|Order.gl|
|00005850| 6f 62 61 6c 20 65 6e 74 | 65 72 65 64 31 0d 67 6c |obal ent|ered1.gl|
|00005860| 6f 62 61 6c 20 65 6e 74 | 65 72 65 64 32 0d 67 6c |obal ent|ered2.gl|
|00005870| 6f 62 61 6c 20 65 6e 74 | 65 72 65 64 33 0d 67 6c |obal ent|ered3.gl|
|00005880| 6f 62 61 6c 20 65 6e 74 | 65 72 65 64 34 0d 70 75 |obal ent|ered4.pu|
|00005890| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 4d 75 6c |t empty |into Mul|
|000058a0| 74 69 4f 72 64 65 72 0d | 70 75 74 20 66 61 6c 73 |tiOrder.|put fals|
|000058b0| 65 20 69 6e 74 6f 20 65 | 6e 74 65 72 65 64 31 0d |e into e|ntered1.|
|000058c0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 65 |put fals|e into e|
|000058d0| 6e 74 65 72 65 64 32 0d | 70 75 74 20 66 61 6c 73 |ntered2.|put fals|
|000058e0| 65 20 69 6e 74 6f 20 65 | 6e 74 65 72 65 64 33 0d |e into e|ntered3.|
|000058f0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 65 |put fals|e into e|
|00005900| 6e 74 65 72 65 64 34 0d | 65 6e 64 20 4e 65 77 4d |ntered4.|end NewM|
|00005910| 75 6c 74 69 0d 0d 6f 6e | 20 63 61 6e 63 65 6c 49 |ulti..on| cancelI|
|00005920| 74 65 6d 0d 67 6c 6f 62 | 61 6c 20 49 74 65 6d 49 |tem.glob|al ItemI|
|00005930| 44 0d 67 6c 6f 62 61 6c | 20 49 74 65 6d 4e 6f 0d |D.global| ItemNo.|
|00005940| 67 6c 6f 62 61 6c 20 51 | 75 61 6e 0d 67 6c 6f 62 |global Q|uan.glob|
|00005950| 61 6c 20 44 65 73 63 72 | 0d 67 6c 6f 62 61 6c 20 |al Descr|.global |
|00005960| 50 72 69 63 65 0d 67 6c | 6f 62 61 6c 20 49 74 65 |Price.gl|obal Ite|
|00005970| 6d 73 0d 67 6c 6f 62 61 | 6c 20 49 74 65 6d 73 53 |ms.globa|l ItemsS|
|00005980| 61 76 65 0d 0d 69 66 20 | 49 74 65 6d 49 44 20 69 |ave..if |ItemID i|
|00005990| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|000059a0| 0d 61 6e 73 77 65 72 20 | 22 44 65 6c 65 74 65 20 |.answer |"Delete |
|000059b0| 74 68 69 73 20 69 74 65 | 6d 20 66 72 6f 6d 20 74 |this ite|m from t|
|000059c0| 68 65 20 6f 72 64 65 72 | 2c 20 6f 72 20 6a 75 73 |he order|, or jus|
|000059d0| 74 20 63 61 6e 63 65 6c | 20 63 68 61 6e 67 65 73 |t cancel| changes|
|000059e0| 3f 22 c2 0d 77 69 74 68 | 20 22 44 65 6c 65 74 65 |?"..with| "Delete|
|000059f0| 22 20 6f 72 20 22 43 61 | 6e 63 65 6c 22 0d 69 66 |" or "Ca|ncel".if|
|00005a00| 20 69 74 20 69 73 20 22 | 44 65 6c 65 74 65 22 20 | it is "|Delete" |
|00005a10| 74 68 65 6e 0d 6b 69 6c | 6c 49 74 65 6d 20 49 74 |then.kil|lItem It|
|00005a20| 65 6d 49 44 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |emID.put| empty i|
|00005a30| 6e 74 6f 20 49 74 65 6d | 49 44 0d 70 6f 70 20 63 |nto Item|ID.pop c|
|00005a40| 61 72 64 0d 65 6c 73 65 | 0d 6c 6f 63 6b 20 73 63 |ard.else|.lock sc|
|00005a50| 72 65 65 6e 0d 70 75 74 | 20 49 74 65 6d 73 53 61 |reen.put| ItemsSa|
|00005a60| 76 65 20 69 6e 74 6f 20 | 49 74 65 6d 73 0d 43 61 |ve into |Items.Ca|
|00005a70| 6c 63 54 6f 74 61 6c 0d | 70 6f 70 20 63 61 72 64 |lcTotal.|pop card|
|00005a80| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 61 6e 73 |.end if.|else.ans|
|00005a90| 77 65 72 20 22 43 61 6e | 63 65 6c 20 74 68 69 73 |wer "Can|cel this|
|00005aa0| 20 69 74 65 6d 3f 22 20 | 77 69 74 68 20 22 59 65 | item?" |with "Ye|
|00005ab0| 73 22 20 6f 72 20 22 4e | 6f 22 0d 69 66 20 69 74 |s" or "N|o".if it|
|00005ac0| 20 69 73 20 22 4e 6f 22 | 20 74 68 65 6e 20 65 78 | is "No"| then ex|
|00005ad0| 69 74 20 63 61 6e 63 65 | 6c 49 74 65 6d 0d 70 6f |it cance|lItem.po|
|00005ae0| 70 20 63 61 72 64 0d 65 | 6e 64 20 69 66 0d 75 6e |p card.e|nd if.un|
|00005af0| 6c 6f 63 6b 20 53 63 72 | 65 65 6e 20 77 69 74 68 |lock Scr|een with|
|00005b00| 20 76 69 73 75 61 6c 20 | 65 66 66 65 63 74 20 77 | visual |effect w|
|00005b10| 69 70 65 20 72 69 67 68 | 74 0d 65 6e 64 20 63 61 |ipe righ|t.end ca|
|00005b20| 6e 63 65 6c 49 74 65 6d | 0d 0d 6f 6e 20 52 65 66 |ncelItem|..on Ref|
|00005b30| 72 65 73 68 4d 75 6c 74 | 69 0d 67 6c 6f 62 61 6c |reshMult|i.global|
|00005b40| 20 4d 75 6c 74 69 4f 72 | 64 65 72 0d 0d 70 75 74 | MultiOr|der..put|
|00005b50| 20 30 20 69 6e 74 6f 20 | 69 0d 72 65 70 65 61 74 | 0 into |i.repeat|
|00005b60| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00005b70| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i|
|00005b80| 6e 20 4d 75 6c 74 69 4f | 72 64 65 72 0d 69 66 20 |n MultiO|rder.if |
|00005b90| 6c 69 6e 65 20 69 20 6f | 66 20 4d 75 6c 74 69 4f |line i o|f MultiO|
|00005ba0| 72 64 65 72 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |rder is |not empt|
|00005bb0| 79 20 74 68 65 6e 0d 67 | 65 74 20 77 6f 72 64 20 |y then.g|et word |
|00005bc0| 32 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 4d |2 of lin|e i of M|
|00005bd0| 75 6c 74 69 4f 72 64 65 | 72 0d 67 65 74 20 69 74 |ultiOrde|r.get it|
|00005be0| 20 26 26 20 77 6f 72 64 | 20 33 20 6f 66 20 6c 69 | && word| 3 of li|
|00005bf0| 6e 65 20 69 20 6f 66 20 | 4d 75 6c 74 69 4f 72 64 |ne i of |MultiOrd|
|00005c00| 65 72 20 26 26 20 22 50 | 61 72 74 73 22 0d 67 65 |er && "P|arts".ge|
|00005c10| 74 20 69 74 20 26 26 20 | 22 24 22 20 26 20 77 6f |t it && |"$" & wo|
|00005c20| 72 64 20 34 20 6f 66 20 | 6c 69 6e 65 20 69 20 6f |rd 4 of |line i o|
|00005c30| 66 20 4d 75 6c 74 69 4f | 72 64 65 72 0d 70 75 74 |f MultiO|rder.put|
|00005c40| 20 69 74 20 69 6e 74 6f | 20 6c 69 6e 65 20 32 20 | it into| line 2 |
|00005c50| 6f 66 20 63 61 72 64 20 | 66 69 65 6c 64 20 69 0d |of card |field i.|
|00005c60| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |set the |hilite o|
|00005c70| 66 20 62 75 74 74 6f 6e | 20 69 20 74 6f 20 74 72 |f button| i to tr|
|00005c80| 75 65 0d 65 6c 73 65 0d | 70 75 74 20 65 6d 70 74 |ue.else.|put empt|
|00005c90| 79 20 69 6e 74 6f 20 6c | 69 6e 65 20 32 20 6f 66 |y into l|ine 2 of|
|00005ca0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 69 0d 73 65 | card fi|eld i.se|
|00005cb0| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00005cc0| 62 75 74 74 6f 6e 20 69 | 20 74 6f 20 66 61 6c 73 |button i| to fals|
|00005cd0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |e.end if|.end rep|
|00005ce0| 65 61 74 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |eat.repe|at with |
|00005cf0| 6a 20 3d 20 69 2b 31 20 | 74 6f 20 6e 75 6d 62 65 |j = i+1 |to numbe|
|00005d00| 72 20 6f 66 20 63 61 72 | 64 20 66 69 65 6c 64 73 |r of car|d fields|
|00005d10| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00005d20| 6c 69 6e 65 20 32 20 6f | 66 20 63 61 72 64 20 66 |line 2 o|f card f|
|00005d30| 69 65 6c 64 20 6a 0d 73 | 65 74 20 74 68 65 20 68 |ield j.s|et the h|
|00005d40| 69 6c 69 74 65 20 6f 66 | 20 62 75 74 74 6f 6e 20 |ilite of| button |
|00005d50| 6a 20 74 6f 20 66 61 6c | 73 65 0d 65 6e 64 20 72 |j to fal|se.end r|
|00005d60| 65 70 65 61 74 0d 65 6e | 64 20 52 65 66 72 65 73 |epeat.en|d Refres|
|00005d70| 68 4d 75 6c 74 69 0d 0d | 6f 6e 20 6f 72 64 65 72 |hMulti..|on order|
|00005d80| 4d 75 6c 74 69 49 74 65 | 6d 20 69 74 65 6d 4e 6f |MultiIte|m itemNo|
|00005d90| 2c 20 73 6c 6f 74 2c 20 | 69 74 65 6d 4b 69 6e 64 |, slot, |itemKind|
|00005da0| 2c 20 6f 6c 64 4e 65 77 | 0d 67 6c 6f 62 61 6c 20 |, oldNew|.global |
|00005db0| 51 75 61 6e 2c 20 50 31 | 77 69 6e 64 2c 20 50 72 |Quan, P1|wind, Pr|
|00005dc0| 69 63 65 0d 67 6c 6f 62 | 61 6c 20 50 6c 69 65 73 |ice.glob|al Plies|
|00005dd0| 4c 69 73 74 0d 67 6c 6f | 62 61 6c 20 4e 75 6d 50 |List.glo|bal NumP|
|00005de0| 6c 69 65 73 0d 67 6c 6f | 62 61 6c 20 4d 75 6c 74 |lies.glo|bal Mult|
|00005df0| 69 4f 72 64 65 72 0d 67 | 6c 6f 62 61 6c 20 53 61 |iOrder.g|lobal Sa|
|00005e00| 6c 65 73 55 6e 69 74 0d | 69 66 20 6c 69 6e 65 20 |lesUnit.|if line |
|00005e10| 73 6c 6f 74 20 6f 66 20 | 4d 75 6c 74 69 4f 72 64 |slot of |MultiOrd|
|00005e20| 65 72 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |er is no|t empty |
|00005e30| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 68 69 6c |then.set| the hil|
|00005e40| 69 74 65 20 6f 66 20 63 | 64 20 62 75 74 74 6f 6e |ite of c|d button|
|00005e50| 20 73 6c 6f 74 20 74 6f | 20 74 72 75 65 0d 61 6e | slot to| true.an|
|00005e60| 73 77 65 72 20 22 44 65 | 6c 65 74 65 20 74 68 69 |swer "De|lete thi|
|00005e70| 73 20 69 74 65 6d 20 66 | 72 6f 6d 20 79 6f 75 72 |s item f|rom your|
|00005e80| 20 6f 72 64 65 72 2c 20 | 4d 6f 64 69 66 79 20 69 | order, |Modify i|
|00005e90| 74 2c 20 6f 72 20 6e 65 | 69 74 68 65 72 3f 22 c2 |t, or ne|ither?".|
|00005ea0| 0d 77 69 74 68 20 22 44 | 65 6c 65 74 65 22 20 6f |.with "D|elete" o|
|00005eb0| 72 20 22 4d 6f 64 69 66 | 79 22 20 6f 72 20 22 43 |r "Modif|y" or "C|
|00005ec0| 61 6e 63 65 6c 22 0d 69 | 66 20 69 74 20 69 73 20 |ancel".i|f it is |
|00005ed0| 22 44 65 6c 65 74 65 22 | 20 74 68 65 6e 0d 73 65 |"Delete"| then.se|
|00005ee0| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00005ef0| 63 61 72 64 20 62 75 74 | 74 6f 6e 20 73 6c 6f 74 |card but|ton slot|
|00005f00| 20 74 6f 20 66 61 6c 73 | 65 0d 70 75 74 20 65 6d | to fals|e.put em|
|00005f10| 70 74 79 20 69 6e 74 6f | 20 6c 69 6e 65 20 32 20 |pty into| line 2 |
|00005f20| 6f 66 20 63 61 72 64 20 | 66 69 65 6c 64 20 73 6c |of card |field sl|
|00005f30| 6f 74 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |ot.put e|mpty int|
|00005f40| 6f 20 6c 69 6e 65 20 73 | 6c 6f 74 20 6f 66 20 4d |o line s|lot of M|
|00005f50| 75 6c 74 69 4f 72 64 65 | 72 0d 65 78 69 74 20 6f |ultiOrde|r.exit o|
|00005f60| 72 64 65 72 4d 75 6c 74 | 69 49 74 65 6d 0d 65 6c |rderMult|iItem.el|
|00005f70| 73 65 20 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |se if it| is not |
|00005f80| 22 4d 6f 64 69 66 79 22 | 20 74 68 65 6e 0d 65 78 |"Modify"| then.ex|
|00005f90| 69 74 20 6f 72 64 65 72 | 4d 75 6c 74 69 49 74 65 |it order|MultiIte|
|00005fa0| 6d 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |m.end if|.end if.|
|00005fb0| 69 66 20 69 74 65 6d 4b | 69 6e 64 20 69 73 20 65 |if itemK|ind is e|
|00005fc0| 6d 70 74 79 20 74 68 65 | 6e 20 70 75 74 20 22 46 |mpty the|n put "F|
|00005fd0| 6f 72 6d 22 20 69 6e 74 | 6f 20 69 74 65 6d 4b 69 |orm" int|o itemKi|
|00005fe0| 6e 64 0d 67 65 74 50 72 | 69 63 69 6e 67 20 69 74 |nd.getPr|icing it|
|00005ff0| 65 6d 4e 6f 0d 67 65 74 | 20 77 6f 72 64 20 31 20 |emNo.get| word 1 |
|00006000| 6f 66 20 53 61 6c 65 73 | 55 6e 69 74 0d 70 75 74 |of Sales|Unit.put|
|00006010| 20 69 74 20 69 6e 74 6f | 20 71 31 0d 70 75 74 20 | it into| q1.put |
|00006020| 32 20 2a 20 69 74 20 69 | 6e 74 6f 20 71 32 0d 70 |2 * it i|nto q2.p|
|00006030| 75 74 20 34 20 2a 20 69 | 74 20 69 6e 74 6f 20 71 |ut 4 * i|t into q|
|00006040| 33 0d 61 6e 73 77 65 72 | 20 22 48 6f 77 20 6d 61 |3.answer| "How ma|
|00006050| 6e 79 3f 22 20 77 69 74 | 68 20 71 31 20 6f 72 20 |ny?" wit|h q1 or |
|00006060| 71 32 20 6f 72 20 71 33 | 0d 70 75 74 20 69 74 20 |q2 or q3|.put it |
|00006070| 69 6e 74 6f 20 51 75 61 | 6e 0d 69 66 20 51 75 61 |into Qua|n.if Qua|
|00006080| 6e 20 69 73 20 6e 6f 74 | 20 22 4e 6f 6e 65 22 20 |n is not| "None" |
|00006090| 74 68 65 6e 0d 69 66 20 | 70 6c 69 65 73 4c 69 73 |then.if |pliesLis|
|000060a0| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |t is emp|ty then.|
|000060b0| 70 75 74 20 31 20 69 6e | 74 6f 20 4e 75 6d 50 6c |put 1 in|to NumPl|
|000060c0| 69 65 73 0d 65 6c 73 65 | 20 69 66 20 6e 75 6d 62 |ies.else| if numb|
|000060d0| 65 72 20 6f 66 20 77 6f | 72 64 73 20 69 6e 20 70 |er of wo|rds in p|
|000060e0| 6c 69 65 73 4c 69 73 74 | 20 69 73 20 31 20 74 68 |liesList| is 1 th|
|000060f0| 65 6e 0d 70 75 74 20 77 | 6f 72 64 20 31 20 6f 66 |en.put w|ord 1 of|
|00006100| 20 70 6c 69 65 73 4c 69 | 73 74 20 69 6e 74 6f 20 | pliesLi|st into |
|00006110| 4e 75 6d 50 6c 69 65 73 | 0d 65 6c 73 65 0d 70 75 |NumPlies|.else.pu|
|00006120| 74 20 77 6f 72 64 20 31 | 20 6f 66 20 50 6c 69 65 |t word 1| of Plie|
|00006130| 73 4c 69 73 74 20 69 6e | 74 6f 20 70 31 0d 70 75 |sList in|to p1.pu|
|00006140| 74 20 77 6f 72 64 20 32 | 20 6f 66 20 50 6c 69 65 |t word 2| of Plie|
|00006150| 73 4c 69 73 74 20 69 6e | 74 6f 20 70 32 0d 69 66 |sList in|to p2.if|
|00006160| 20 70 32 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 | p2 is n|ot empty|
|00006170| 20 74 68 65 6e 20 70 75 | 74 20 22 20 6f 72 20 22 | then pu|t " or "|
|00006180| 20 62 65 66 6f 72 65 20 | 70 32 0d 70 75 74 20 77 | before |p2.put w|
|00006190| 6f 72 64 20 33 20 6f 66 | 20 50 6c 69 65 73 4c 69 |ord 3 of| PliesLi|
|000061a0| 73 74 20 69 6e 74 6f 20 | 70 33 0d 69 66 20 70 33 |st into |p3.if p3|
|000061b0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|000061c0| 65 6e 20 70 75 74 20 22 | 20 6f 72 20 22 20 62 65 |en put "| or " be|
|000061d0| 66 6f 72 65 20 70 33 0d | 64 6f 20 22 61 6e 73 77 |fore p3.|do "answ|
|000061e0| 65 72 20 22 26 71 75 6f | 74 65 26 22 48 6f 77 20 |er "&quo|te&"How |
|000061f0| 6d 61 6e 79 20 70 61 72 | 74 73 3f 22 26 71 75 6f |many par|ts?"&quo|
|00006200| 74 65 26 22 20 77 69 74 | 68 20 22 26 70 31 26 70 |te&" wit|h "&p1&p|
|00006210| 32 26 70 33 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |2&p3.put| it into|
|00006220| 20 4e 75 6d 50 6c 69 65 | 73 0d 65 6e 64 20 69 66 | NumPlie|s.end if|
|00006230| 0d 70 75 74 20 31 20 69 | 6e 74 6f 20 70 31 57 69 |.put 1 i|nto p1Wi|
|00006240| 6e 64 0d 43 61 6c 63 50 | 72 69 63 65 0d 73 65 74 |nd.CalcP|rice.set|
|00006250| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|00006260| 61 72 64 20 62 75 74 74 | 6f 6e 20 73 6c 6f 74 20 |ard butt|on slot |
|00006270| 74 6f 20 74 72 75 65 0d | 67 65 74 20 51 75 61 6e |to true.|get Quan|
|00006280| 20 26 26 20 4e 75 6d 50 | 6c 69 65 73 20 26 26 20 | && NumP|lies && |
|00006290| 22 50 61 72 74 73 22 20 | 26 26 20 22 24 22 20 26 |"Parts" |&& "$" &|
|000062a0| 20 50 72 69 63 65 0d 70 | 75 74 20 69 74 20 69 6e | Price.p|ut it in|
|000062b0| 74 6f 20 6c 69 6e 65 20 | 32 20 6f 66 20 63 61 72 |to line |2 of car|
|000062c0| 64 20 66 69 65 6c 64 20 | 73 6c 6f 74 0d 67 65 74 |d field |slot.get|
|000062d0| 20 69 74 65 6d 4e 6f 20 | 26 26 20 51 75 61 6e 20 | itemNo |&& Quan |
|000062e0| 26 26 20 4e 75 6d 50 6c | 69 65 73 20 26 26 20 50 |&& NumPl|ies && P|
|000062f0| 72 69 63 65 20 26 26 20 | 69 74 65 6d 4b 69 6e 64 |rice && |itemKind|
|00006300| 20 26 26 20 6f 6c 64 4e | 65 77 0d 70 75 74 20 69 | && oldN|ew.put i|
|00006310| 74 20 69 6e 74 6f 20 6c | 69 6e 65 20 73 6c 6f 74 |t into l|ine slot|
|00006320| 20 6f 66 20 4d 75 6c 74 | 69 4f 72 64 65 72 0d 65 | of Mult|iOrder.e|
|00006330| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 68 69 6c 69 |lse.set |the hili|
|00006340| 74 65 20 6f 66 20 63 61 | 72 64 20 62 75 74 74 6f |te of ca|rd butto|
|00006350| 6e 20 73 6c 6f 74 20 74 | 6f 20 66 61 6c 73 65 0d |n slot t|o false.|
|00006360| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6c |put empt|y into l|
|00006370| 69 6e 65 20 32 20 6f 66 | 20 63 61 72 64 20 66 69 |ine 2 of| card fi|
|00006380| 65 6c 64 20 73 6c 6f 74 | 0d 70 75 74 20 65 6d 70 |eld slot|.put emp|
|00006390| 74 79 20 69 6e 74 6f 20 | 6c 69 6e 65 20 73 6c 6f |ty into |line slo|
|000063a0| 74 20 6f 66 20 4d 75 6c | 74 69 4f 72 64 65 72 0d |t of Mul|tiOrder.|
|000063b0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6f 72 64 65 72 |end if.e|nd order|
|000063c0| 4d 75 6c 74 69 49 74 65 | 6d 0d 0d 6f 6e 20 6d 75 |MultiIte|m..on mu|
|000063d0| 6c 74 69 47 6f 4e 65 78 | 74 0d 67 6c 6f 62 61 6c |ltiGoNex|t.global|
|000063e0| 20 4d 75 6c 74 69 4f 72 | 64 65 72 0d 0d 69 66 20 | MultiOr|der..if |
|000063f0| 4d 75 6c 74 69 4f 72 64 | 65 72 20 63 6f 6e 74 61 |MultiOrd|er conta|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.